C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » General »

Hit count using ASP.net


Posted Date: 18 Aug 2008    Resource Type: Articles    Category: General
Author: UnlikeOthersMember Level: Silver    
Rating: 1 out of 5Points: 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  
Sign In to add 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!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use