Click here to Skip to main content
15,900,325 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am developing a website and the problem I am facing in my part of the project is, how can I develop for hit counter and how can I update the database when the user visits the web site?

I need help with both the hit counter and updating the database.


thanks
Posted
Updated 12-Jul-11 0:20am
v4
Comments
Prerak Patel 12-Jul-11 6:18am    
Update database when user visit?! Are you talking of logging visits?
Slacker007 12-Jul-11 6:21am    
Edited for grammar and readability. Deleted demanding verbiage.

In the Page_Load event handler, if it's not a postback, update the database.

EDIT =============

Marked as the answer, yet given a 1-vote? Absurdity...
 
Share this answer
 
v2
You Can use Application Variable for the Hit Counter.....and can store that value in the Database.....
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900