Re: 2 apps accessed in one browser with setStoresIDsInCookies(true)
Re: 2 apps accessed in one browser with setStoresIDsInCookies(true)
- Subject: Re: 2 apps accessed in one browser with setStoresIDsInCookies(true)
- From: Amiel Montecillo <email@hidden>
- Date: Mon, 7 Jun 2010 10:38:03 +0800
Forget this. I'm was having a blonde moment.
I had an old code overriding domainForIDCookies returning "/".
Amiel
On Mon, Jun 7, 2010 at 10:24 AM, Amiel Montecillo
<email@hidden> wrote:
Hi,
I have 2 apps, one is the customer facing app and the other is the admin application.
I have setStoresIDsInCookies(true) on both apps.
The problem is that after I login to one app then login to the second app, the woinst and wosid cookies are being overwritten by the second application.
Is there a way to tell WO to set the cookie path to the application url? (e.g. /cgi-bin/WebObjects/app1.woa instead of just / ) I think doing that will allow both apps to work together. There probably is a better way so I'm all ears.
Thanks,
Amiel
--
socket error: unable to connect to 127.0.0.1
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
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