Hi :) thnx for reading my post, the very first one actually..
Well.. generally i'm trying to make counters on 4 x webpages within the website.
Have created 4 x txt files which add 1 to the number in the txtfile each time a new session has been initiated by the user.
It's no problem getting it to work on 1 x webpage, but 4 !?!?.. I've read some posts assuming that it's not possible to use multiple sessions, even though u call the sessions different names. Not really sure how i can fix this..
Have looked for several hours for a IP-counter too, but haven't found any ASP-ones yet. (maybe someone else knows one

?
Will be forever'illy happy if anyone could help me in the right direction and rules, maybe even a place i can find some code i can use ?
Pasting the code underneat here :
--------------- START CODE -----------------
Set fsoObject = Server.CreateObject("Scripting.FileSystemObject")
Set filObject = fsoObject.GetFile(Server.MapPath("counter_hovedsid e.txt"))
Set tsObject = filObject.OpenAsTextStream
lngVisitorNumber = CLng(tsObject.ReadAll)
If isEmpty(Session("counterPT")) = True Then
'Increment the visitor counter number by 1
lngVisitorNumber = lngVisitorNumber + 1
'Set the session variable to true
Session("counterPT") = True
End if
Set tsObject = fsoObject.CreateTextFile(Server.MapPath("counter_h ovedside.txt"))
tsObject.Write CStr(lngVisitorNumber)
------------ END CODE -------------
Best regards
Mirador