Wrox Programmer Forums
|
BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
This is the forum to discuss the Wrox book Beginning PHP 6, Apache, MySQL 6 Web Development by Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz; ISBN: 9780470391143
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2011, 10:01 AM
Registered User
 
Join Date: Jul 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem in Logout script

hi frnds,

my code for logout is
Code:
 
<?php

function redirect($url)
{
  if(!headers_sent())
     header('Location: ' .$url);
	 
	else 
	die('Could not redirect,output already sent to browser.');

}


session_start();
session_unset();
session_destroy();
redirect('index.php');

?>
this is working but i hav this code embedded in 1 of frames of browser window
.New page redirected is loaded in that frame only.I want to load in whole window.Plzz help?
Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
logout problem badboy1 ASP.NET 3.5 Basics 3 July 22nd, 2008 08:32 AM
Logout problem dayaananthanm ASP.NET 2.0 Professional 2 December 7th, 2006 04:57 AM
ASP Logout Script webXtreme Access ASP 0 November 7th, 2006 02:40 PM
Simple Logout Script webXtreme ASP.NET 1.0 and 1.1 Basics 0 November 7th, 2006 01:18 PM
Logout problem xylo ASP.NET 2.0 Basics 1 July 8th, 2005 05:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.