Re: new Session being created
Re: new Session being created
- Subject: Re: new Session being created
- From: Chuck Hill <email@hidden>
- Date: Thu, 4 Sep 2008 17:52:02 -0700
On Sep 4, 2008, at 5:43 PM, Josh Paul wrote:
I'm not swallowing exceptions anywhere, and if I am they're printing
to stdout.
I do think the session is locked or not checked in. I need to
investigate further.
That would give you deadlock or unlocked access, not create a new
session.
Are you storing the session ID in cookies too?
Chuck
On Sep 4, 2008, at 3:41 PM, Guido Neitzer wrote:
Only thought I have is that it might not be a good idea to fire
that DA from
a spawned thread from the RR loop. You might end up trying to check
out a
session from the session store that is already checked out.
Not sure what would cause the creation of a new session though ...
maybe
that it is throwing an exception while trying to access the old
(but locked)
session and this could create a new session.
Are you swallowing exceptions somewhere?
cug
On 04.09.08 16:33, "Josh Paul" <email@hidden> wrote:
100%.
I left out the fact that this is related to a Thread, as that's
where
the status is being created. So, I have a DA that fires the process
and another DA that checks in on it. The issue is that when
checking,
a new Session keeps getting created.
Thoughts?
On Sep 4, 2008, at 3:26 PM, Guido Neitzer wrote:
And you are sure, your session is not terminated somewhere else?
cug
On 04.09.08 15:59, "Josh Paul" <email@hidden> wrote:
I'm using WO 5.3 with a version of Wonder about 1 week old...
On Sep 4, 2008, at 2:50 PM, Guido Neitzer wrote:
On 04.09.08 15:42, "Chuck Hill" <email@hidden> wrote:
That sort of thing should work. Which version of WO? There may
have
been some related bugs in earlier versions of 5.4
As far as I know, that should work. But I always call
"existingSession()"
before I do anything else in a DA call.
cug
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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