• 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
Creating cookies for parent URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating cookies for parent URL


  • Subject: Creating cookies for parent URL
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 16 Jun 2011 10:06:40 -0400

I'm creating a cookie to store a token but the problem is that the path is set to the stateful request handler (/wo) and I can't read the cookie in the REST (/ra) handler... I have tried to set the path to be the root of the app, but both Safari and Firefox are rejecting it because it's a level up from the generated URL.

I could redirect the browser to a URL under /ra and including the token in the URL to create the cookie, but that means two cookies for the same app, and that's a bit lame. Any workaround? _______________________________________________
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

  • Follow-Ups:
    • Re: Creating cookies for parent URL
      • From: John Huss <email@hidden>
  • Prev by Date: How to get each CheckBox value inside a WORepetition Bind to the same variable
  • Next by Date: WOHTTPConnection and WOResponse issues
  • Previous by thread: Re: Re: How to get each CheckBox value inside a WORepetition Bind to the same variable
  • Next by thread: Re: Creating cookies for parent URL
  • Index(es):
    • Date
    • Thread