Session ID always changing!

Hi there

I've got a problem. I need to use the session.session_id for tracking the amount of actual (not logged in) website-visitors. But the session-id is changing on each request!

I use the default rails 2.2.2 settings..

Anyone an idea??

Thank you

sigma

This may be a stupid question, but does the client in question have cookies disabled or does the domain change on subsequent requests? Also, have you considered using one of the many log parsers available for counting / tracking requests. I use awstats and love it. It will parse most server logs and give you more information than you could ever want.

Maybe this helps, -Bill

sigma wrote:

Hi there

I've got a problem. I need to use the session.session_id for tracking the amount of actual (not logged in) website-visitors. But the session-id is changing on each request!

I use the default rails 2.2.2 settings..

If you're using the cookie store (the default) then this is normal:
the entire session is stored in the cookie, so session.session_id is
the entirety of that data (plus a checksum) If you want to track people I'd store a random identifier in the
session.

Fred