C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Hit count using ASP.net


Posted Date: 18 Aug 2008    Resource Type: Articles    Category: General

Posted By: UnlikeOthers       Member Level: Silver
Rating:     Points: 5



This hit count uses Date function, timefunction and some application variables. The below code is used to count of hits in a page.


≪%
Dim x, y, temp, serv, D, hits
x = Trim(day(date()))
D = Application( "serv" )
If D = x Then
Application( "hits" ) = Application( "hits" ) + 1
Else
Application( "hits" ) = 1
End If
y = x
temp = y
Application( "serv" ) = temp
%>
There are <%=Application( "hits" )%> hits to this page.




Responses

Author: devi    20 Aug 2008Member Level: Silver   Points : 0
how to disable menuitem in menuctrl


Author: Raghav    21 Aug 2008Member Level: Gold   Points : 0
Good article Unlike others

Raghav


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Hit count using ASP.net  .  Hit count  .  ASP.net hit count  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Adapter Pattern: An introduction
Previous Resource: n-Tier architecture
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

silicone halloween masks

Contact Us    Privacy Policy    Terms Of Use