Quote:
|
Originally Posted by crisjr
3. logout.php - in the framed-pages after logging-in, i have a log-out link (this link is placed on the top frame). the logout page destroys/unset session, then *SHOULD* redirect the page to login.php (using php function: header(); ).
the behaviour of logout procedure is it redirects to login.php *ON* its frame window.
problem:
how do i redirect the logout to login.php, basically not on index.php frames
|
You should just be able to set the target of the logout link to point to the top frame that way the logout page and then the following login page will load into that top frame. Best to avoid javascript when it is not strictly necessary.
