> I want to keep the sessions separate. What''s the best way handle
that
> with Rails? I''m guessing that by default, I''m going to
be working with
> the same session in both areas.
>
you may want to take a look at this
http://api.rubyonrails.com/classes/ActionController/SessionManagement/ClassMethods.html#M000128
and this http://www.ruby-doc.org/core/classes/CGI/Session.html#M000553
As you see, you can specify different per action options, and one of the
options is the session key (which rails 1.2.0 and above set by deffault
at the application controller).
regards,
javier ramirez
--
--------
Estamos de estreno... si necesitas llevar el control de tus gastos visita
http://www.gastosgem.com !!Es gratis!!
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---