Re: Clear URL parameters
If the user only browsed stateless pages up to that point there is no http session, but only a new wicket session for each request. You can call WebSession.bind() to force the creation of a http session. Regards, Erik. Op 24-05-10 17:51, andres.santana wrote: Does redirect affects a Custom Session? I mean using setRedirect(true) works but something I set in the WebSession is lost. - -- arsh -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Clear URL parameters
A non-wicket application redirects to my wicket application with an URL full of parameters: for example http://mypc/myapp/auth?param1=value1param2=value. I receive this request in an intermediate page, and then I want to redirect to another page using setResponsePage(), but the URL keeps all this parameters, and I want to have a clear URL. I've mounted the page but it never removes URL parameters... Any ideas? - -- arsh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-URL-parameters-tp2228705p2228705.html Sent from the Wicket - User 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
Re: Clear URL parameters
Have you tried setRedirect(true)? Cheers. On Mon, May 24, 2010 at 12:13 PM, andres.santana andres.sant...@gmail.com wrote: A non-wicket application redirects to my wicket application with an URL full of parameters: for example http://mypc/myapp/auth?param1=value1param2=value. I receive this request in an intermediate page, and then I want to redirect to another page using setResponsePage(), but the URL keeps all this parameters, and I want to have a clear URL. I've mounted the page but it never removes URL parameters... Any ideas? - -- arsh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-URL-parameters-tp2228705p2228705.html Sent from the Wicket - User 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 -- Mauro Ciancio maurociancio at gmail dot com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Clear URL parameters
Does redirect affects a Custom Session? I mean using setRedirect(true) works but something I set in the WebSession is lost. - -- arsh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-URL-parameters-tp2228705p2228758.html Sent from the Wicket - User 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
Re: Clear URL parameters
How setRedirect(true) affects WebSession? - -- arsh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-URL-parameters-tp2228705p2229073.html Sent from the Wicket - User 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