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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
