Forum: Ruby on Rails session vars

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.
Mike S. (Guest)
on 2005-11-22 03:48
(Received via mailing list)
Are session variables sent to the server with every request and back
to the browser with every render?  Or only the latter?  Or not even?
I ask because I'm trying to design my site to skimp on bandwidth.
digidigo (Guest)
on 2005-11-22 04:00
(Received via mailing list)
On 11/21/05, Mike S. <removed_email_address@domain.invalid> wrote:
> Are session variables sent to the server with every request and back
> to the browser with every render?  Or only the latter?  Or not even?
> I ask because I'm trying to design my site to skimp on bandwidth.
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

Session variables are stored on the server and available to the app at
any point.  They are not shuttled back and forth between the client
and server.   They will help you to skimp on bandwidth and also to
avoid a bunch of data manipulation in order to have data across
requests.

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