On Thu, Jun 16, 2011 at 9:06 AM, Pascal Robert <[email protected]> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to