Hi,

I'm having some problems with session on version 4.3.0.
On 4.1.1 it was working perfectly. Here are the sources
of login.php and logout.php:

login.php

session_start();
$GLOBALS["SID"] = "PHPSESSID=".session_id();
$GLOBALS["var1"] = $HTTP_SESSION_VARS["var1"];



logout.php

session_start();
$GLOBALS["SID"] = "PHPSESSID=".session_id();
session_destroy();
setcookie(session_name(),"","","/");




When user clicks to logout.php, the session must be destroyed,
with no need to close the browser.

Thanks,


-- 
Marcel Peruch
Web Developer
www.viaconnect.com.br
[EMAIL PROTECTED]
Linux User #271282

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to