note 80144 rejected from function.setcookie by ezyang

From: Date: Mon, 31 Dec 2007 17:29:50 +0000
Subject: note 80144 rejected from function.setcookie by ezyang
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134630@lists.php.net to get a copy of this message
Note Submitter: volkk at inbox dot lv ---- <? session_set_cookie_params(0); session_name('SessionID'); session_start(); if (isset($_COOKIE['SessionID'])) { echo $_SESSION['userlogin'] . ' ' . $_SESSION['userpass']; } else { $_SESSION['userlogin'] = 'The Login'; $_SESSION['userpass'] = 'The Password'; echo 'value was unset, now it\' apllied to be set. try to refresh'; } ?> Why when i restart browser the cookie session is not deleting? It always shows me: The Login The Password, after the first session set...

« previous php.notes (#134630) next »