• 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: mod_rewrite, sessions and cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >mod_rewrite, sessions and cookies (From: Jaime Magiera <email@hidden>)
 >Re: mod_rewrite, sessions and cookies (From: Zak Burke <email@hidden>)

  • Prev by Date: Re: mod_rewrite, sessions and cookies
  • Next by Date: Re: Implementing "google like" search
  • Previous by thread: Re: mod_rewrite, sessions and cookies
  • Next by thread: Re: mod_rewrite, sessions and cookies
  • Index(es):
    • Date
    • Thread