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