Heys,
a Session is a semi-permanent interactive information interchange, it is
usually created upon the entry or login on the website, and destroyed upon
levaing or logout,
in rails by convention you may save the session id on the database, but
basically once someone enters the website it has a session and in the
session you can store values like session[:xkcd] = "funny cartoon" in
one
page, and after a few actions and interactions over the website , you can
acess it for example like, a=session[:xkcd].
a Session normally is statefull and is unique for each user and its token
serves as a unique identifier that is sent from a
server<http://en.wikipedia.org/wiki/Server_%28computing%29>to a
client <http://en.wikipedia.org/wiki/Client_%28computing%29> to identify
the
current interaction session.
erg... hope it''s usefull information.
On Thu, Aug 12, 2010 at 5:09 PM, Abder-Rahman Ali
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:
> I tried to understand what a "session" means in Ruby on Rails,
and found
> this site:
> http://www.tutorialspoint.com/ruby-on-rails/rails-session-cookies.htm
>
> But, really, I couldn''t get the idea well yet. Can you just
explain what
> "session" means mire further?
>
> Thanks.
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.