Re: Creating cookies for parent URL
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