Re: Creating a session with an initial DirectAction
Re: Creating a session with an initial DirectAction
- Subject: Re: Creating a session with an initial DirectAction
- From: David Holt <email@hidden>
- Date: Fri, 4 Sep 2009 11:56:43 -0700
On 4-Sep-09, at 11:44 AM, David LeBer wrote: Creating the session however is easy. Within your direct action method:
Session session = (Session)session();
This will return the session if it exists or create a new one if it doesn't.
Thanks,
I don't know why I didn't know that. Sometimes I still feel like an idiot. :-)
d |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden