• 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: session timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: session timeout


  • Subject: Re: session timeout
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 27 Jan 2010 15:36:02 -0800


On Jan 27, 2010, at 3:24 PM, Jake Bearkley wrote:

HI All,

We have a webobjects application which when the session timeout displays a "CustomSessionTimeoutPage". On this page we have a link to the main page for them to click on.

1) is there a way to log a user out and return them to the current page instead of this custom page?

When that page is returned, there is no session to log the user out of, it has "gone away" to the great garbage collection in the sky. You could set a cookie so that the error handler knew which page they were on. Reconstructing the page state may be a non-trivial exercise, depending on your application.



2) is there a way to return them to the site entry page? ie the directAction url they entered on instead of the main page


Return a WORedirect to the DA url instead of the CustomSessionTimeoutPage.


Chuck


-- Chuck Hill Senior Consultant / VP Development

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


References: 
 >session timeout (From: Jake Bearkley <email@hidden>)

  • Prev by Date: session timeout
  • Next by Date: Just in case question, Apple Push Notification Server
  • Previous by thread: session timeout
  • Next by thread: Just in case question, Apple Push Notification Server
  • Index(es):
    • Date
    • Thread