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.
620c12639078ea2dde8a3b50ccee4c05?d=identicon&s=25 Dark Ambient (Guest)
on 2006-06-08 16: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
B13a9240291ffa22215214316bd365de?d=identicon&s=25 Hendrik Mans (Guest)
on 2006-06-08 16: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
620c12639078ea2dde8a3b50ccee4c05?d=identicon&s=25 Dark Ambient (Guest)
on 2006-06-08 17: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.