in reply to Threading together "sessions" from browser logs

Apache's mod_usertrack gives you the ability to log session cookies.

Update: Do you have mod_log_config available? It has a deprecated interface to cookies.

After Compline,
Zaxo

  • Comment on Re: Threading together "sessions" from browser logs

Replies are listed 'Best First'.
Re: Re: Threading together "sessions" from browser logs
by perrin (Chancellor) on Sep 20, 2002 at 19:04 UTC
    Yes, that's typically the way to do it. Or you can just roll your own. All this module does is send a cookie with a unique ID to anyone who comes in without one. Then you use a custom log format to log the cookie as part of each access, giving you a unique ID to trace. People can still browse the site if they don't accept the cookie, so it's not a terrible thing to do.
Re: Re: Threading together "sessions" from browser logs
by dws (Chancellor) on Sep 20, 2002 at 19:14 UTC
    Apache's mod_usertrack gives you the ability to log session cookies.

    If I move the site to a colo box, that's what I'll do. For the moment, though, it's hosted at an ISP that doesn't support mod_usertrack, so I'm looking for downstream (logfile-based) options.