Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
- Subject: Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
- From: Lachlan Deck <email@hidden>
- Date: Mon, 30 Jun 2008 10:43:24 +1000
On 28/06/2008, at 1:20 AM, Rams wrote:
Hi everyone...
I should add, I am currently using component actions. I'm not
defaulting to direct actions yet... so I'm under the impression that
there should always be a session present.
Not always so. But you can force a session to be invoked by
referencing session() in your component.
I only check context().hasSession() now because I had planned to
move to direct actions at a future date. At least Tomcat is failing
consistently at the same places, so I guess that's a small ray of
hope.
Failing how?
with regards,
--
Lachlan Deck
_______________________________________________
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