Forum: Ruby on Rails Sessions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dark A. (Guest)
on 2006-06-08 18:40
(Received via mailing list)
In the Agile WD book it states regarding sesion data- "Rails uses the
cookie-based approach".

This can't be entirely true can it ? Not that I'm complaining if it was
but
isn't there some equivalent to say, PHP sessions ? Or am I wrong.

Stuart
Hendrik M. (Guest)
on 2006-06-08 18:54
(Received via mailing list)
> This can't be entirely true can it ? Not that I'm complaining if it was but isn't there 
some equivalent to say, PHP sessions ? Or am I wrong.

No, no. It means Rails uses a cookie to identify your session. Just
like PHP. The actual session data is, of course, stored on the server,
not inside the cookie (which I assume is what you were thinking.)

- Hendrik
Dark A. (Guest)
on 2006-06-08 19:18
(Received via mailing list)
Yes, I was thinking session data was stored in cookie. I've been working
through the example though and get it now.
Actually the example in the book stores the session data in a table.

Stuart
This topic is locked and can not be replied to.