On May 24, 2006, at 3:19 PM, Papai Roy wrote:

Hi all,
I am pecuiliar scenario. I am looking for an alternative to cookie
during a session timeout.

My requirement is to store a particular code somewhere (other than a
cookie) so that when a session time occurs the application read this
code in the handleSessionRestoration... method and regenerates the
correct page with the correct state back again from the code.
Implementing a cookie will serve the purpose but there are limitations
which is restricting to implement it.

If anyone has any solution to this problem or has implemented
something please do let me know.

You don't have a whole lot of choices here. HTTP only sends three things:
1. The URL, which may contain form values
2. The headers, which would contain cookies
3. The content in the case of a posted form

Which comes down to either cookies or form values on the URL. As you can't use cookies, you will have to encode the needed state into the URL.

Chuck

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