Re: Java Monitor Sessions Question
Re: Java Monitor Sessions Question
- Subject: Re: Java Monitor Sessions Question
- From: Ashley Aitken <email@hidden>
- Date: Thu, 29 Apr 2004 10:09:40 +0800
On 29/04/2004, at 9:51 AM, Ray Ackland wrote:
I would have thought this is the correct method. Aren't you getting
the current session with this, rather than creating new sessions?
Yes, it is generally just getting the session, not creating one, and it
is the correct thing to do. IIRC, if you use this in a Direct Action
though, it will create a session if one doesn't exist.
Further, what I think Jonathan was referring to was that if you are
using Direct Actions then you may think you are not accessing or
creating session (e.g. you don't use sessions directly in your code)
but you may use a component in your pages that will create a Session
(since it needs one).
Since James suggests he is not using Direct Actions, this should not be
his problem.
Debugging like Jonathan suggests, is a good idea though.
Cheers,
Ashley.
--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.