User has to login, but once logged in...
Posted: Wed Apr 26, 2006 10:26 am
I have a members-only area on my web application where users have to login. Unregistered visitors will often try to access a "members-only" area and are presented with the message stating:
"You must first Login to access this area. Click here to login."
Once they go to the login page and login, how do I go about redirecting them back to the section they were at when they got the "restricted access -> go login" message like the one above? I would like for the login page to know where they had come from in my site and send them back to it after logging them in? Any ideas? Thanks!
"You must first Login to access this area. Click here to login."
Once they go to the login page and login, how do I go about redirecting them back to the section they were at when they got the "restricted access -> go login" message like the one above? I would like for the login page to know where they had come from in my site and send them back to it after logging them in? Any ideas? Thanks!