• 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: Getting page variables after the session has been terminated.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting page variables after the session has been terminated.


  • Subject: Re: Getting page variables after the session has been terminated.
  • From: Sacha Mallais <email@hidden>
  • Date: Mon, 12 Sep 2005 12:05:57 -0700

On Sep 12, 2005, at 10:06 AM, Tanmoy Roy wrote:

I am in the process of building an application which will be accpting
user info. Upon successfull submission the user will be redirected to
a new read only static page. Now the application is directAction
enabled. The userInfo page is localized with locale info. being passed
in the directAction. Now the user is not allowed to go back to the
userInfo page once he goes to static page. If however he clicks on the
browser back button a localized error page will be shown which will be
determined by the locale of the directAction.

Now my question is how can I get the locale information once the user
clicks on the back button as the sesion is already terminated. I am
generating the error page from the Application's
handleSessionRestorationErrorInContext() method. Can I do something in
the appendToResponse method of userInfo page so that we can get the
locale info in the Application level's
handleSessionRestorationErrorInContext method.

The context has the request, and the request has all the language preference information from the browser.
http://developer.apple.com/documentation/WebObjects/Reference/API/com/ webobjects/appserver/WOContext.html
http://developer.apple.com/documentation/WebObjects/Reference/API/com/ webobjects/appserver/WORequest.html



sacha


-- Sacha Michel Mallais President / Senior Developer Global Village Consulting Inc. http://www.global-village.net/ PGP Key ID: 7D757B65 AIM: smallais ObAd: read "Practical WebObjects" <fnord> http://www.global-village.net/products/practical_webobjects


Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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: 
 >Getting page variables after the session has been terminated. (From: Tanmoy Roy <email@hidden>)

  • Prev by Date: Re: Empty and null strings
  • Next by Date: Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
  • Previous by thread: Getting page variables after the session has been terminated.
  • Next by thread: WO on mactel
  • Index(es):
    • Date
    • Thread