Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Cookie

Status
Not open for further replies.

stfarm

Programmer
May 31, 2001
179
CA
Hi,

I would like to create a cookie and append it to my IIS log files. I would like to able to see how each visitor moves around my site.

I know the basics, but I am not sure how I am able to determine if the visitor has been on the site before, maybe also from where and when? I guess I have to have a cookie script on each page?

I hope somebody can help me.

The cookie will be for
Thank you,

Steve

Steve
 
If you have control over the server you can add the session cookie code to the logs using IIS. That will not tell you if they are a return visitor of course.
But you can't create a persistent cookie with asp and have it appear in the IIS access logs.

This is a page view tracking script I use. It's a relatively trivial task to add cookie creation to it and use the initial session ID as the unique signature. Something I'm on with to convert it into an affiliate tracking script as well. Should be done and tested by mid next week (not a high priority) if you want to check back.

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
Nightclub counting systems

So long, and thanks for all the fish.
 
Actually I created a Cookie, and the host added it to the log files. I can now see it. But like you said, I think I am missing something to make sure I see all returning visitors.
If you could let me know about your update, that would be great. I will also try to remember.
Thank you for your help.

Steve

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top