cancel
Showing results for 
Search instead for 
Did you mean: 

Login page should seamlessly redirect if already logged in

pberry
Grafter
Posts: 40
Registered: ‎10-04-2007

Login page should seamlessly redirect if already logged in

OK, it's unlikely an already-logged-in user is going to visit http://community.plus.net/forum/index.php?action=login but if this is the case it should immediately push to the main page.
Something like
if(isset[user_logged_in]) {header "Location: http://community.plus.net/"} Smiley
2 REPLIES 2
Tamlyn
Grafter
Posts: 268
Registered: ‎11-04-2007

Re: Login page should seamlessly redirect if already logged in

Or redirect to the referring page (if on the same domain)?
Colin
Grafter
Posts: 1,264
Registered: ‎04-04-2007

Re: Login page should seamlessly redirect if already logged in

Wishlist item...