Not exactly, when I'm in the login page I press the back button and return to the home page (that seems ok since it was the last page), then in the home page I use a submit button but since the session was invalidated, wicket can not find info about the form being submitted. All the problem reduces to this : How can I intercept the requests so I can check the session status (I reimplemented the isInstantiationAuthorized(Class componentClass) of the IAuthorizationStrategy interface to check for authentication info but it does not work in this case).

Thanks.

Jaime.

Johan Compagner <[EMAIL PROTECTED]> wrote:
Let me get it straight first.

You where on youre homepage
then you click on something
where you invalidate the page and redirect to a login page.
Then on that login page you go back to yo ure homepage
and you expect the homepage to be there?

You invalidated the session and all its pages. So you can't go back.
If you want this behaviour then just don't invalidate the session. But clear you login info.

johan


On 3/27/06, Jaime De La Jara <[EMAIL PROTECTED]> wrote:
Hi, I have included a close session link in the home page of my application (in one of the constructors), and in the onClick method of the link I invalidate the session and throw a RestartResponseException to the login page, but after I close the session using the link and press the back button in the login page I got the home page as it should be, but when I press a submit buttom in the hom e page, I get a WicketRuntimeException, since the form component is not existant in the page. What can I be doing wrong?.

Thanks in advance.

Jaime.

New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.



Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to