How do I control the Login Redirect?
I'm making a Login Lightbox, and I need to control the location of the page you goto once you're logged in. Currently is just redirecting me to my login form again, ( as the site opens up a page that displays the login form in a ajax lightbox )
I have 100% control over the login form (any hidden vars I should be aware of?)
Or is there any code that looks to see if a user is logged in so I can manually redirect them to the homepage? Although that is not really desirable.
Thanks in advance.
|