Re: End session

From: Date: Mon, 31 Jul 2000 01:10:27 +0000
Subject: Re: End session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9090@lists.php.net to get a copy of this message
<?php session_start(); session_destroy(); setcookie("my_cookie", "", "", "/"); //If you have set a cookie header("Location: $WWWROOT"); //$WWWROOT would be your index page ?> "William S Poarch" <scott@youcanspeak.com> wrote in message news:B5AAFDF2.399%scott@youcanspeak.com... > Can anyone tell me where to find a good general purpose logout script for > PHP 4.0? Right now sessions are the beast that would not die. > > > Scott Poarch > Director, Japan Operations > Editj.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#9090) next »