Hi,
I am trying to set up a page with a left frame and a right frame. The left frame is set up to display a login form if the user is not logged in, and a logout button if the user is logged in.
Originally the left frame should display a simple login form, and the right frame will display a simple splash page.
After the user has clicked "submit" on the login form, it should call a "login.php" script which will set all the session variables, load the user's page into the right frame and then refresh the left frame.
I have tried everything, including javascript, to make this work. But I either end up refreshing the left frame too soon (before the session is set) or it complains that I can't set new header variables since they've already been set.
Is there a way to specify a target with the header("Location = blahblah.php") function?
Or is there another way to do this?
Thanks,
Jillian