I think you could add the session id as a parameter to your URLs:
e.g. 

        <a href="mypage.jsp?findme=<%= session.getId() %>">link</a>

Then the session id should show up in your access log. This is not
an easy solution (you have to change your JSPs), but I think it
works.

> I'm using the JRun 3.02 with IIS 5, and I want to write additional
> information to the IIS log file, similar to how the
> request.appendToLog() works in ASP.  The application.log() 
> functions all
> write to the jrun log file.
> 
> What I'm really trying to do is get a complete track of where someone
> goes on my website.  Since the client IP address can't really 
> be used to
> be sure it is the same person (AOL users seem to switch 
> proxies within a
> session, and many companies have proxies that make all requests
> originate from the same address), I want to write the session 
> id in the
> ***IIS*** log file along with the request.  
> 
> I would think this is a pretty common thing to want to do.  If anyone
> has any other ideas on how to do this (other than rewriting it from
> scratch), I'd love to hear them.  
> 
> Andrew
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to