On 8 Dec 2008, at 08:01, 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
> Anyone an idea??
>
> Thank you
>
> sigma
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to