• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Session and DirectAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Session and DirectAction (From: WIESEN Bruno <email@hidden>)

  • Prev by Date: Re: WOCookie
  • Next by Date: Re: DST Update WO 5.3.3 and Java Client
  • Previous by thread: Session and DirectAction
  • Next by thread: WOCookie
  • Index(es):
    • Date
    • Thread