Hi all,
If i open a javascript pop up window from a page called genre.php:
how can i get the browser to go back to the genre.php page if the session is not valid?
In the member_rating.php page i check to see if a session exists.
If a session does not exist i have a header function that executes:
This all works fine except that the login.php page loads into the pop up window.
How can i get it so that if the session is not valid the login.php page displays but in the original genre.php page.
Cheers,
micmac
If i open a javascript pop up window from a page called genre.php:
Code:
<a href="#" onClick="MM_openBrWindow('member_rating.php?movie_id=<? echo $movie_id ?>','rating','width=300,height=400')">Rate this</A>
In the member_rating.php page i check to see if a session exists.
If a session does not exist i have a header function that executes:
Code:
header("Location: login.php?id=member_rating&movie_id=$movie_id");
How can i get it so that if the session is not valid the login.php page displays but in the original genre.php page.
Cheers,
micmac