svn: /web/php-bugs/trunk/www/ logout.php
| From: | Ferenc Kovacs | Date: | Sun, 15 Jan 2012 21:56:53 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ logout.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12814@lists.php.net to get a copy of this message | ||
tyrael Sun, 15 Jan 2012 21:56:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322337
Log:
we don't use the MAGIC_COOKIE cookie anymore in the code, and it should have expired on every
client also
Changed paths:
U web/php-bugs/trunk/www/logout.php
Modified: web/php-bugs/trunk/www/logout.php
===================================================================
--- web/php-bugs/trunk/www/logout.php 2012-01-15 21:27:07 UTC (rev 322336)
+++ web/php-bugs/trunk/www/logout.php 2012-01-15 21:56:53 UTC (rev 322337)
@@ -4,8 +4,6 @@
require_once '../include/prepend.php';
-setcookie("MAGIC_COOKIE","",time()-3600,'/','.php.net');
-setcookie("MAGIC_COOKIE","",time()-3600,'/');
$_SESSION["credentials"] = array();
session_destroy();