Gullanian wrote:
if not heck aspin.com theyll have thousands
|
I found something I maybee could use, but there is a little problem. I run my own web server and the code I found resetting the counter and date everytime the server is restartet.
Anyone there could help me editting this global.asa file or is it not possible?
<SCRIPT RUNAT="Server" LANGUAGE="VBScript">
sub Session_OnStart
'Lock the Application for concurrency issues
Application.Lock
'Increment the counter
Application("Hits") = Application("Hits") + 1
'Unlock the Application
Application.UnLock
end sub
sub Application_OnStart
'This variable Hits will store the # of visitors
Application("Hits") = 0
'From the date stored in AsOfDate...
Application("AsOfDate") = Date
end sub
</SCRIPT>
Edited by bki1