Re: mod_rewrite, sessions and cookies
Re: mod_rewrite, sessions and cookies
- Subject: Re: mod_rewrite, sessions and cookies
- From: Jaime Magiera <email@hidden>
- Date: Sun, 6 Nov 2005 21:48:22 -0500
On Nov 6, 2005, at 6:42 PMGMT-05:00, Zak Burke wrote:
In Session.java, you need to override domainForIDCookies like this:
public String domainForIDCookies()
{
return "/";
}
I dunno why it's named domainForIDCookies -- it sets the *path* for
WO's wosid and woinst cookies. Use / to have the cookies sent
with all requests, which is required for mod_rewrite and
DirectAction-based applications that have WO-based pages whose
URLs DO NOT START with the WO adaptorPrefix, e.g. /wo/WebObjects/
or /cgi-bin/WebObjects/, which is what WO uses as the cookie path
by default.
Cool. Thanks to you and Mike Shrag, I've got it fixed now :)
Jaime
_______________________________________________
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