hrm, i dont see how /MyApp/app can ever cause a page expired error because
it is a bookmarkable url and so a new instance of page is always created. i
would debug the request cycle and see why it cannot find the page, seems
very strange to me

-igor


On 7/28/07, lubosp <[EMAIL PROTECTED]> wrote:
>
>
> Igor,
>
> after login page (login.jsp) it is redirected to /MyApp/app which goes to
> my
> wicket home page, and that one is expired.
>
> Is it possible that I am missing something on logout action?
> Is it enough to do session.invalidate()?
>
> Note, it works properly the first time, only after I log out and then go
> to
> /MyApp/app again, I get the login page and after it the Page expired page.
>
> Lubos
>
>
> igor.vaynberg wrote:
> >
> > what url causes the page expired page?
> >
> > -igor
> >
> >
> > On 7/28/07, lubosp <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Hi guys,
> >>
> >> my first wicket mailing list post. I just started using Wicket couple
> >> gays
> >> ago (after using Tapestry and ZK), and I have to say, I am impressed.
> >> Congratulation to great framework!
> >>
> >> I have tried to port my application, which uses Acegi Spring security
> to
> >> Wicket. I managed to port the core of the application, but had problem
> >> with
> >> Acegi Spring security integration. I used
> >> http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
> >> article, but I couldn't figure out how to define login page and login
> >> error
> >> page in acegi configuration (I will post different question about it).
> >>
> >> So I decided to use plain old JSP to implement login (and login error)
> >> page.
> >> That works OK, I can login to the application. I have logout action in
> my
> >> application implemented in MyAppSession that extends
> >> AuthenticatedWebSession:
> >>
> >>         setAuthentication(null);
> >>         invalidate();
> >>
> >> That logs me out OK. But when I login again, after the login page
> >> (login.jsp), instead of application home page, I get Page Expired page
> >> with
> >> a link to my application home page.
> >>
> >> My question is, how to you prevent or avoid the Page Expired page.
> >>
> >> Thanks for great framework and for your help. Lubos
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems?  Stop.
> >> Now Search log events and configuration files using AJAX and a browser.
> >> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >> _______________________________________________
> >> IMPORTANT NOTICE:
> >>
> >> This mailing list is shutting down. Please subscribe to the Apache
> Wicket
> >> user list. Send a message to: "users-subscribe at wicket.apache.org"
> and
> >> follow the instructions.
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > IMPORTANT NOTICE:
> >
> > This mailing list is shutting down. Please subscribe to the Apache
> Wicket
> > user list. Send a message to: "users-subscribe at wicket.apache.org" and
> > follow the instructions.
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> IMPORTANT NOTICE:
>
> This mailing list is shutting down. Please subscribe to the Apache Wicket
> user list. Send a message to: "users-subscribe at wicket.apache.org" and
> follow the instructions.
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the 
instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to