I’m working on a Rails site that needs to have two separate
authenticated areas (the cms and a shopping cart). I haven’t begun
working on the shopping cart yet, but I need to figure out the best way
to approach having those two areas not step on each other’s feet.
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.
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.
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!!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.