Page 1 of 1

session unset

Posted: Thu Jun 17, 2004 12:27 am
by pinehead18

Code: Select all

<?php
	session_start();
	session_unset();
	session_destroy();
	header("Location: http://.com/index1.php");
?>
That does not send me to the location using header.

Any ideas?
Thank you
Anthony

Posted: Thu Jun 17, 2004 1:28 am
by feyd
is that the actual url you are trying to go to? some browsers won't redirect if the page isn't found. I don't see why you named the topic session unset, when your call to header has nothing to do with it.