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

RE: Session Timeout Page


  • Subject: RE: Session Timeout Page
  • From: "Albert Jagnow" <email@hidden>
  • Date: Thu, 7 Aug 2003 11:25:28 -0500
  • Priority: normal
  • Thread-topic: Session Timeout Page

Actually I don't think the default session timeout page is all that bad.
What did you expect from a default page?  You can override
handleSessionRestorationErrorInContext in your Application class to
return whatever you want when a session expires.  I think there are
several example in the documentation on this.

Something like this should work:

public WOResponse handleSessionRestorationErrorInContext(WOContext
context){
	MyComponent nextPage =
(MyComponent)pageWithName("MyComponent",context);
	nextPage.doOrShowSomethingBecauseSessionTimedOut();//display
message to user, etc...
	WOResponse response = nextPage.generateResponse();
	if(response == null){
		response =
super.handleSessionRestorationErrorInContext(context);
	}
	return response;
}

--Albert

-----Original Message-----
From: Goodbye Bill [mailto:email@hidden]
Sent: Thursday, August 07, 2003 10:49 AM
To: List: WebObjects-Dev
Subject: Session Timeout Page


The page that is displayed by default when a session times out is
horrible!
Is there any way to display a customized page OR, better still, to
bounce
the user automatically back into a starting point?

Thanx,
"Bill"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Session Timeout Page
  • Next by Date: Backtracking - That Age Old Problem
  • Previous by thread: Re: Session Timeout Page
  • Next by thread: Re: Session Timeout Page
  • Index(es):
    • Date
    • Thread