Re: Superfluous Session Creation
Re: Superfluous Session Creation
- Subject: Re: Superfluous Session Creation
- From: Mark Ritchie <email@hidden>
- Date: Wed, 28 Jan 2009 14:41:35 -0500
On Wednesday, January 28, 2009, at 11:58AM, "Joe Kramer" <email@hidden> wrote:
>... I know that the new session is created when pageWithName is called from the directAction, but I don't know
>why the session is being created ...
Hrm, sounds to me like the new component being created contains at least one component action! That would explain why your call to pageWithName has the side effect of creating a session. You should check the component definition and make sure that it contains only direct actions.
It's possible to track down the offending element from jdb with a break point on WOSession creation however the backtraces are typically generic and it's hard to determine exactly which element is of interest.
Good luck!
M.
__
Mark Ritchie
Cocoa and WebObjects Developer
Diamond Lake Consulting Inc.
Toronto, Ontario, Canada
_______________________________________________
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