You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Andrea Paternesi <pa...@hotmail.it> on 2008/10/01 15:25:45 UTC

sorry it was ViewExpiredException handling

In my previous post i was referring to the ViewExpiredException and not to the ViewhandlerException.
I mispelled the name.
Thanks for any help you can give to me.


_________________________________________________________________
Tutto il mondo MSN a portata di clic!
http://toolbar.msn.com/overview.aspx?loc=it-it

RE: AW: sorry it was ViewExpiredException handling

Posted by Andrea Paternesi <pa...@hotmail.it>.
Well yes i already handle the Session expiration.

Here the problem is different. I try to explain the best i can.

I have a stateful session and a group of pages.
Let say each page has some submit command buttons.

Now i load page1 and push a submit button that sends me to page2.
Now if i use the browser's "back button" to return to page1 while page2 is loaded and i
push a submit button (whatever it is) on this page1 (that is not loaded because the browser takes it from cache), then the ViewExpiredException is thrown.
This because the server does have the view for page2 and it receives a submit from page1.

To avoid this i must catch the exception.
Any other idea?

From: facesMailings@online.de
To: users@myfaces.apache.org
Subject: AW: sorry it was ViewExpiredException handling
Date: Wed, 1 Oct 2008 17:26:36 +0200






















Hi Andrea,

 

the ViewExpiredExecption
occurs after a session timeout.

This article shows how to
handle this: http://www.jroller.com/hasant/entry/jsf_logout_and_redirect_user

 

It describes how to
redirect to a timeout pageā€¦

 

Bye

 









Von: Andrea Paternesi
[mailto:patton73@hotmail.it] 

Gesendet: Mittwoch, 1. Oktober
2008 15:26

An: users@myfaces.apache.org

Betreff: sorry it was
ViewExpiredException handling



 

In my previous post i was referring
to the ViewExpiredException and not to the ViewhandlerException.

I mispelled the name.

Thanks for any help you can give to me.

 







Crosswire, il gioco delle relazioni. Sei
pronto per la sfida?







_________________________________________________________________
Tutto il mondo MSN a portata di clic!
http://toolbar.msn.com/overview.aspx?loc=it-it

AW: sorry it was ViewExpiredException handling

Posted by Stephan Frai <fa...@online.de>.
Hi Andrea,

 

the ViewExpiredExecption occurs after a session timeout.

This article shows how to handle this:
http://www.jroller.com/hasant/entry/jsf_logout_and_redirect_user

 

It describes how to redirect to a timeout page.

 

Bye

 

  _____  

Von: Andrea Paternesi [mailto:patton73@hotmail.it] 
Gesendet: Mittwoch, 1. Oktober 2008 15:26
An: users@myfaces.apache.org
Betreff: sorry it was ViewExpiredException handling

 

In my previous post i was referring to the ViewExpiredException and not to
the ViewhandlerException.
I mispelled the name.
Thanks for any help you can give to me.

 

  _____  

Crosswire, il gioco delle relazioni. Sei
<http://livesearch.games.msn.com/crosswire/play_it/>  pronto per la sfida?