right, i meant to say setresponsepage(mypage.class) :) -igor
On Dec 15, 2007 3:30 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > Wont that just result in page expire?? > > Session.invalidat() doesnt invalidate at that time but at the end of > the request > > I see 2 options > > Session.invalidat() > setResponsePage(new mypage()); > setRedirect(false) > > Or > Session.invalidat() > setResponsePage(mypage.class); > setRedirect(true) > > > > On 12/15/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > session.invalidate(); > > setresponsepage(new mypage()); > > requestcycle.setredirect(true); <=== > > > > -igor > > > > > > On Dec 14, 2007 8:14 PM, NateRedding <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > > > I am writing a web application that has a need to log the user out when a > > > certain action is performed. So, I do a Session.invalidate(). This takes > > me > > > to the Page Expired Error Page that I set in my application settings. > > > However, when this particular action is performed, I simply want to take > > the > > > user to a different page other than the Page Expired Error Page that does > > > not require the user to be authenticated. Any recommendations on how to > > > accomplish this? > > > > > > Thanks, > > > Nathan > > > -- > > > View this message in context: > > http://www.nabble.com/Session.invalidate%28%29-tp14345242p14345242.html > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]