I think a little more detail are in order here from myside..

 

On our form are a radiobutton group which have wantnotifications and an 
overridden onselectionchanged method. Depending on which radio button are 
selected the user are forwarded to a different page. 

 

So I have page A and B. If radio A are selected we are on page A and radio B 
are selected then we are on page B. 

 

So if I select radio B from page A and while loading(we have about 1-2 secs 
load time ) I still manage to press the next button which basically are a 
submit button which sets response to the next page, then I get an page expired 
message.

 

My guess are that in the above scenario since the request cycle are linear and 
chronological I first get to submit the request that require page B(doing this 
clears the pagemap), after this request comes my second request that are a 
button clicked event on page A, but page A are no longer in the pagemap since 
it got cleared in the previous request..?

 

 

 

Regards Nino

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner
Sent: 4. januar 2007 11:25
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] PageExpired

 

can users also go forward again?
Because those pages will be gone then it is a stack.
I would just monitor which pages goes out of the stack at what time.

in 1.3 with the new SecondLevelCache this wouldn't happen at all. All pages can 
be found again. 

johan



On 1/4/07, Nino Wael <[EMAIL PROTECTED]> wrote:

Hi 

 

We are experiencing some PageExpired exceptions, where I believe they should 
not occur.

 

We are running on a clustered environment, two tomcats with apache infront as 
loadbalancer. 

 

As I see it pageExpired could happen if somehow apache sent the user to the 
wrong server(we are using the session affinity JK-mod I belive so that should 
not happen). Else pageExpired would happen if the users session expire or the 
user tries to reach a page that's pop'ed from the pagemap stack (I belive our 
limit are 15).

 

Could pageExpired also come if the user gets an exception?

 

And finally we are also seeing that if a user double posts their form they get 
an pageExpired message, how can I prevent this?

 

 

 

We are using the pagemap to retrieve previous pages, so that the user can press 
a previous button... And as I remember it we are clearing our pagemap when we 
begin a new flow(its also on this page that we experience the page expired if 
double post occur, im not sure how this interferes with the request cycle).

 

Lets say user clicks twice(then two page rendering are waiting), and somewhere 
in the code we clear the page map what happens then?

 

 

Regards Nino


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your 
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user 



 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to