[Radiant] Access to session object when creating a behavior
John W. Long
ng at johnwlong.com
Tue Aug 1 23:02:18 CDT 2006
jsmorris wrote:
> I am still learning Ruby, Rails, and Radiant, but I am trying to
> develop a new behavior for a custom application that extends Radiant.
>
> I see that have access to request and response objects in the
> BaseBehavior, but do I have access to the session object?
>
> I want to make all pages aware of the logged in user, but I am not
> sure how to go about doing this with Radiant.
>
> Appreciate any help...
>
You should have access to the session on the request object. Use the
session method.
--
John Long
http://wiseheartdesign.com
More information about the Radiant
mailing list