Hi, all
I have this login script that calls on itself to authenticate the username
and the password. It redisplays the login page if there is an error. My
question is how do I redirect it to a different page, when the user is
authenticated (i.e. the address in the address box changes to a new name,
for example, if the login page is called login.php, then I want to redirect
the logged in user to home.php without any clicking from the user). I
realize that there is a header function available, but I've heard that any
information related to the current session is lost upon using this function.
Is there any better way?
cheers
==James==