I don't think this has been discussed, but what you need to do is to add
the current request URL as a hidden form field to your login form to be
passed back into your login Action. Your Login Action can have a
parameterized redirect result, with a redirect location like
${redirectUrl} which will call getRedirectUrl() on your LoginAction
after it's executed. 

> -----Original Message-----
> From: Donnerstag, Juergen [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 01, 2004 7:30 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] transparent login page
> 
> 
> 
> I'd like to implement a login page behaviour which is similar 
> to Yahoo's login page. No matter where you come from, Yahoo 
> checks whether you are logged in or not. If login is required 
> and you are not logged in you get redirected to the login 
> page. Upon successfull login you get forwarded to the page 
> you originally intended to, as if nothing in between (Login 
> page) has happened.
> 
> So far I have implemented the AuthorizeIntercepter (from one 
> of the examples apps) and that works fine. But I'm struggling 
> with the last requirement: "Upon successfull login you get 
> forwarded to the page you originally intended to, as if 
> nothing in between (Login page) has happened (including 
> parameters etc.)".
> 
> I am new to webwork2 and I appoligize if this is a simple 
> question. But I checked the lists and did not find a solution.
> 
> Help is very much appreciated.
> Juergen
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's Free Linux Tutorials.  Learn everything from the 
> bash shell to sys admin. Click now! 
> http://ads.osdn.com/?ad_id=1278&alloc_id=3371> &op=click
> 
> _______________________________________________
> 
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to