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

Re: Restoring session after timeout.


  • Subject: Re: Restoring session after timeout.
  • From: Jérémy DE ROYER <email@hidden>
  • Date: Fri, 02 Dec 2011 13:54:44 +0100

I dont think its possible, timeout is timeout

May be you could auto save the form with ajax and restore it in the new session ?

Jeremy DE ROYER

Le 2 déc. 2011 à 12:11, Mahdi Mankai <email@hidden> a écrit :

> Hi,
>
> I'd like to do something but I am not sure whether it's possible.
>
> I have a WO application that requires users to login.
>
> I am storing the user credentials in cookies to avoid having to login each time.
>
> I'd like to handle the situation where a user tries to continue working on the application after his session is timed out.
>
> Basically, whatever the request is (may be Direct Action or Component request, with or without form values), I want to get the appropriate response but with a new session (created using the credentials stored in cookies). i.e. process the same request but with a different session or (I don't know if it's possible) restore a timed out session.
>
> I don't want to extend the session timeout parameter.
>
> I tried to do something in handleSessionRestorationErrorInContext(WOContext aContext) in WOApplication class. But couldn't figure out how to reuse the same context with a different session. The only thing I was able to do is to redirect to a specific page.
>
> For example, I would like users to be able to fill a form, come back tomorrow, hit save and my application should be able to handle that smoothly.
>
> Thanks,
>
> Mahdi
>
> _______________________________________________
> 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
 _______________________________________________
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: Restoring session after timeout.
      • From: Mahdi Mankai <email@hidden>
References: 
 >Restoring session after timeout. (From: Mahdi Mankai <email@hidden>)

  • Prev by Date: Restoring session after timeout.
  • Next by Date: Re: Restoring session after timeout.
  • Previous by thread: Restoring session after timeout.
  • Next by thread: Re: Restoring session after timeout.
  • Index(es):
    • Date
    • Thread