I've done this by supplying the 'current' page as a parameter to the
login page/service. After a successful login, a forward is done to that
location. I'm not sure what your <check-login> tag looks like, but this
could be a parameter of it, which is then supplied to the login
mechanism. You could probably also supply the current page in the
session.

- Robert

-----Original Message-----
From: Andy Timm [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 23, 2002 11:13 AM
To: [EMAIL PROTECTED]
Subject: Forward after <check-login>

I have some pages which require a user to be logged in
and some which do not.  If the <check-login> tag
determines that there is no user logged in, the user
is forwarded to the login page.  I'd like to remember
where the user came from and forward them there after
a successful authentication.  I'm sure there are
multiple ways of doing this and I would like some
advice.  Thanks, Andrew Timm

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to