Just add this to your Session.java

public String domainForIDCookies() {
    return "/";
}

Note that despite the name this "Returns the path that will be used when creating the rendevous cookie for the application "


Chuck


On Nov 6, 2005, at 12:18 PM, Jaime Magiera wrote:

I use a lot of direct actions in my WO application. Each page is a mixture of session links and regular links to other direct actions. This requires the use of cookies to store the session ID. For the most part, this worked without a problem. Recently, I implemented mod_rewrite in Apache to shorten the URLs of the direct actions. I'm now coming to the conclusion that this is going to cause some problems. The default cookie is for /cgi-bin/...., and loading a page with the shortened URLs does not add a cookie at all.

There are a myriad of ways I could re-work things (add a second cookie, change the default cookie writing procedure, etc.). I'm curious if anyone else has had this problem and how they handled it.

thanks,

Jaime
_______________________________________________
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/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________
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