[Wicket-user] Is there an easy way to Prevent Caching and Expire HTML content imediately

2006-04-25 Thread lu dongping
I now need to expire the page at once,so users can not click back button again.thanks!

Re: [Wicket-user] Is there an easy way to Prevent Caching and Expire HTML content imediately

2006-04-25 Thread Johan Compagner
override configureResponseOn 4/25/06, lu dongping [EMAIL PROTECTED] wrote: I now need to expire the page at once,so users can not click back button again.thanks!

Re: [Wicket-user] Is there an easy way to Prevent Caching and Expire HTML content imediately

2006-04-25 Thread Eelco Hillenius
The page or the session? If you don't want to support the back button for a page, just override isVersioned and return false. The effect is that the URL stays the same, so the back button will take users to the page they were before that. To invalidate a session, call Session.invalidate().