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

Re: Creating cookies for parent URL


  • Subject: Re: Creating cookies for parent URL
  • From: John Huss <email@hidden>
  • Date: Thu, 16 Jun 2011 09:27:34 -0500

On Thu, Jun 16, 2011 at 9:06 AM, Pascal Robert <email@hidden> wrote:
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?

You could try setting the cookie via _javascript_ - I thought you could do this sort of thing that way.
 
 _______________________________________________
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: 
 >Creating cookies for parent URL (From: Pascal Robert <email@hidden>)

  • Prev by Date: WOHTTPConnection and WOResponse issues
  • Next by Date: Re: WOHTTPConnection and WOResponse issues
  • Previous by thread: Creating cookies for parent URL
  • Next by thread: WOHTTPConnection and WOResponse issues
  • Index(es):
    • Date
    • Thread