Re: Session and DirectAction
Re: Session and DirectAction
- Subject: Re: Session and DirectAction
- From: Guido Neitzer <email@hidden>
- Date: Wed, 14 Mar 2007 08:22:59 -0600
On 14.03.2007, at 04:25, WIESEN Bruno wrote:
But if a user who has an active session, opens a new window and
executes a Direct Action...How can I detect that he already has an
active session??At this moment, a new session is created...and
that's not what I want...Can someone help me??
Store session ids in cookies. Or, if you don't want that that, open
the window from a hyperlink. If a user does open a new Window by
himself, you have no real control over what he is doing. The cookie
brings you to a certain point, but nevertheless - you don't have
control over the behaviour of the user.
For the cookie, call
this.setStoresIDsInCookies(true);
this.setStoresIDsInURLs(false);
in the session constructor.
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