Hello all,

I have a page with a form and an AjaxSubmitLink on it. In the onSubmit() I
do some business logic and redirect the user to the next page using
setResponsePage(nextPage).

Just before redirecting to the next page I do:
getSession.untouch(firstPage);
getSession.clear();

I do this in order to prevent the user from returning to this page.

The problem is when the user clicks twice on the AjaxSubmitLink - the clear
session logic get's called in the first click and then i get "page expired"
in the second link.

I tried to use AjaxCallDecorator to block the button in the second click,
but still got the "page expired".

Can you help me here? Am I trying to do something that is not possible?

thanks
Rebecca

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4449450.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to