Hi, I have found this script that does record hits for individual pages.
http://www.sidneyforcier.com/sidneyforcierv2/asp/hitcounter.aspx
This is the code for each page
This page has been accessed
- <%=GetCurrentHitCount("pagename", true)%>
times
I am trying to put data from a field in my database in the("pagename", true) bit, with
- <%=rsCard("Aditionaltwo")%>
like so
-
<%=GetCurrentHitCount("<%=rsCard("Aditionaltwo")%>", true)%>
It doesnt like asp inside asp however.
Is there a way around this. I need to be able to put the page name there, so that it counts the hits for only that page.
As I am writing I have just realised that the pagename data probably must be there before one arrives at the page and therefore would not work anyway the way I was thinking!!!!!!
If anyone knows a solution to give dynamic pages an individual page hit or knows how to work around this one, that would be great.
Thanks
Richard