• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Alternative to Cookie during a Session Timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative to Cookie during a Session Timeout


  • Subject: Re: Alternative to Cookie during a Session Timeout
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 24 May 2006 17:01:20 -0700


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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Alternative to Cookie during a Session Timeout
      • From: "Papai Roy" <email@hidden>
References: 
 >Alternative to Cookie during a Session Timeout (From: "Papai Roy" <email@hidden>)

  • Prev by Date: Re: horizontal inheritance oddity
  • Next by Date: Re: How to start pageForException?
  • Previous by thread: Alternative to Cookie during a Session Timeout
  • Next by thread: Re: Alternative to Cookie during a Session Timeout
  • Index(es):
    • Date
    • Thread