Hi, The scenario you describe is pretty much how Servlet security works[1]. You can also use these alternatives[2].
Bob [1]: http://click.apache.org/docs/user-guide/htmlsingle/click-book.html#security [2]: http://click.apache.org/docs/user-guide/htmlsingle/click-book.html#alternatve-security-solutions On 2011/02/20 17:17 PM, Haim Schindler wrote: > Hello, > > What is the right way in click to redirect to a desired page after successful > login? > > *here is the scenario:* > > user type in the browser url: > > *www.site.com/page1000.htm <http://www.site.com/page1000.htm>* > > but user is NOT login so he was redirected to > > *www.site.com/login.htm <http://www.site.com/login.htm>* > > after successful login I want the user to be automatically redirected to > > *www.site.com/page1000.htm <http://www.site.com/page1000.htm> * (the > original url that the user wanted) > > (now what I do is a bit tedios, I keep this information the the url to > login.htm?.... and then I use > hidden fields in the login form so that info goes to login process after > post....) >
