RE: Wosid suppression broken in 5.4?
RE: Wosid suppression broken in 5.4?
- Subject: RE: Wosid suppression broken in 5.4?
- From: "James C. Lee" <email@hidden>
- Date: Wed, 19 Dec 2007 16:22:33 -0800
- Importance: Normal
Maybe I'm missing something here. But calling setStoresIDsInURLs(false) from
one's session constructor takes care of this issue:
public Session() {
super();
setStoresIDsInURLs(false);
}
We were caught by surprise with this new "feature". But the above one-liner
took care of it. We actually did this in our BaseSession class, which all
apps subclass from. While we're on the subject of session IDs, also do this
in the constructor:
setStoresIDsInCookies(true);
^James
_______________________________________________
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