Re: Looking for a way to add unique persistent cookie to IIS 6.0 log file
From: Patrice Scribe (nobody_at_nowhere.com)
Date: 03/19/04
- Next message: Kshitij: "Time selection"
- Previous message: Adam Bieganski: "Re: IE hosted .NET control as webservice client"
- In reply to: John: "Looking for a way to add unique persistent cookie to IIS 6.0 log file"
- Next in thread: [MSFT]: "RE: Looking for a way to add unique persistent cookie to IIS 6.0 log file"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Mar 2004 10:13:42 +0100
AFAIK the IIS built-in log file functionnality allows to track cookies.
Lauch the IIS service manager, go on your appplication root, in properties
choose the "web site" tab. Use then the "extended properties" and make sure
the Cookie line is checked... (IIS 5 but should be likely the same for
IIS6).
Patrice
-- "John" <John@nospam.com> a écrit dans le message de news:oet6c.9833$272.8114@lakeread03... > Hi. > > I am looking for a way to implement the mod_usertrack function of Apache in > IIS... > > If you are familiar with IIS log file, you know that it tracks several > pieces of information on every transaction/hit (GET/POST), including IP > address, date/time, and so on. I like for every visitor to my site (running > on Windows 2003 and IIS 6.0) to automatically receive a persistent unique > cookie. I would like this cookie to be logged in every row of data in the > IIS log file, along with other information.Hopefully, this will allow me to > come up with a better "unique" visitor count for my site. > > I imagine this should be a very common function, but I am very new to IIS / > ASP.NET / and ISAPI and not quite sure how to begin. I was looking into > global.asax, but that seems to only be called for calls against asp files. > My site has a mix of HTML, ASP, PDF, and image files and, ideally, I would > like hits against any of them to appear with the visitor's cookie in the log > file. In other words, even if a visitor navigates directly to a PDF file, > s/he need to receive a cookie, if they do not have one, and the cookie needs > to be logged in the log file.. > > I hope I did not confuse things a lot. > > Thanks in advance for your help. > >
- Next message: Kshitij: "Time selection"
- Previous message: Adam Bieganski: "Re: IE hosted .NET control as webservice client"
- In reply to: John: "Looking for a way to add unique persistent cookie to IIS 6.0 log file"
- Next in thread: [MSFT]: "RE: Looking for a way to add unique persistent cookie to IIS 6.0 log file"
- Messages sorted by: [ date ] [ thread ]