Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOSession and setStoresIDsInCookies method



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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.