Peteris Krisjanis wrote:
I want to store session and instance IDs in cookies, so I add two methods in my Session.java:

setStoresIDsInCookies(true);
setStoresIDsInURLs(false);

And I can browse my app without seeing rather large session ID. And for example, my URL
looks like that:
http://dev-peteris.local:59359/cgi-bin/WebObjects/johaidi_server.woa/ wo/0.20.0

However, when I clean up url and go to
http://dev-peteris.local:59359/cgi-bin/WebObjects/ johaidi_server.woa/, session seems to be vanished.

What I should do that session id is left stored in cookies and I can still manipulate with URL?

Also is there any useful references (posts, emails) for "hiding" WebObjects url and creating good one? How url_rewrite works
with WebObjects sessions, etc?

Already thanks for any answers,
Peter.


Cookie storage is dependent upon the path and domain of the site serving the cookie. If you can turn on cookie-prompting so you can see cookies as they are set then you'll be able to confirm that the cookie has the right path and domain.

Turn turn on cookie prompting
Firefox: Tools->Options->Privacy->Cookies->Keep Cookies (set to ask every time).

IE:  Tools->Internet Options->Privacy->Settings->Advanced
Override cookie handling set first party cookies to prompt and set third party cookies to prompt.

When the prompt comes up check the details of the cookie.

-arturo
_______________________________________________
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