SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Jun 8, 2007, 12:30 #1
- Join Date
- Nov 2004
- Location
- Canada
- Posts
- 373
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Redirecting a "3-framed" page to a single frame page?
Hey All.
I have a page with 3 frames. When a users clicks "Logout" I need to kill the session and redirect them to the main login page, login.php.
The problem is, when they click Logout only the frame the "logout" link is located in gets forwarded to login.php. The session does get killed, but I need the entire page to be redirected to login.php not just the single frame.
I have tried using the header(Location: login.php) to no avail, is there any trick to do this??
-
Jun 8, 2007, 12:34 #2
-
Jun 11, 2007, 08:33 #3
- Join Date
- Nov 2004
- Location
- Canada
- Posts
- 373
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Awsome, thanks a lot man. I couldnt find this anywhere.. appreciated.
Bookmarks