It's exactly the same usage:

Session["item"] = item;

If it's throwing null refs then there's something else going wrong.

On Wed, May 13, 2009 at 9:28 AM, Mike Nichols <[email protected]> wrote:
>
> in Controller I think Context.Session...
> are you trying to do something in an handler?
>
> On May 13, 1:18 am, Kcube <[email protected]> wrote:
>> Hi,
>>
>> I am new to monorail, sorry for asking the basic question.
>>
>> How to store session object with monorail?
>>
>> I have seen that the session object is handled in httpcontext. but i
>> cant access httpcontext every where in the project. its showing null.
>>
>> ie in base cass.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to