• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 2 apps accessed in one browser with setStoresIDsInCookies(true)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >2 apps accessed in one browser with setStoresIDsInCookies(true) (From: Amiel Montecillo <email@hidden>)

  • Prev by Date: 2 apps accessed in one browser with setStoresIDsInCookies(true)
  • Next by Date: Generating Pages completely from Java Code
  • Previous by thread: 2 apps accessed in one browser with setStoresIDsInCookies(true)
  • Next by thread: Generating Pages completely from Java Code
  • Index(es):
    • Date
    • Thread