Soldiers33 Posted May 7, 2009 Share Posted May 7, 2009 How does this guy at http://leenks.com creates a counter which doesnt restart after refreshing a page? Link to comment Share on other sites More sharing options...
0 James Rose Posted May 7, 2009 Share Posted May 7, 2009 Off the top of my head I would say by storing it in a cookie, or by using your IP address. Tthere are issues with these options but if I reload a page I must save the data somewhere. Link to comment Share on other sites More sharing options...
0 Soldiers33 Posted May 8, 2009 Author Share Posted May 8, 2009 i dnt rely mind about the issues. I just want something so that wen the link is clicked, even if the page has been refreshed then it still keeps on counting rather than resetting to 0 Link to comment Share on other sites More sharing options...
0 i11usive Posted May 8, 2009 Share Posted May 8, 2009 Just create a script that opens/increments a value stored in the backend database. That way, whenever the page is loaded, the hit count will go up. Link to comment Share on other sites More sharing options...
Question
Soldiers33
How does this guy at http://leenks.com creates a counter which doesnt restart after refreshing a page?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts