cvs: php4 /ext/session session.c
| From: | Andrei Zmievski | Date: | Thu, 26 Oct 2000 17:37:48 +0000 |
| Subject: | cvs: php4 /ext/session session.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2263@lists.php.net to get a copy of this message | ||
andrei Thu Oct 26 10:37:48 2000 EDT
Modified files:
/php4/ext/session session.c
Log:
session_unset() now cleans up $HTTP_SESSION_VARS as well.
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.178 php4/ext/session/session.c:1.179
--- php4/ext/session/session.c:1.178 Mon Oct 23 06:10:01 2000
+++ php4/ext/session/session.c Thu Oct 26 10:37:47 2000
@@ -1354,6 +1354,9 @@
zend_hash_del(&EG(symbol_table), variable, strlen(variable) + 1);
efree(variable);
}
+
+ /* Clean $HTTP_SESSION_VARS. */
+ zend_hash_clean(Z_ARRVAL_P(PS(http_session_vars)));
}
/* }}} */