Date: 12/05/00
- Next message: Max Derkachev: "Re: [phplib-dev] Session class with PHP4 sessions and custom handlers commited"
- Previous message: max: "[phplib-dev] cvs commit"
- Next in thread: max: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: max
Date: Tue Dec 5 12:16:03 2000
Modified files:
php-lib/php/page.inc
Log message:
disabled calls to ->freeze() for Session classes using php4 sessions, since no need for them in php4 native sessions
Index: php-lib/php/page.inc
diff -u php-lib/php/page.inc:1.9 php-lib/php/page.inc:1.10
--- php-lib/php/page.inc:1.9 Tue Dec 21 14:40:59 1999
+++ php-lib/php/page.inc Tue Dec 5 12:15:32 2000
@@ -5,7 +5,7 @@
* Copyright (c) 1998,1999 NetUSE GmbH
* Boris Erdmann, Kristian Koehntopp
*
- * $Id: page.inc,v 1.9 1999/12/21 13:40:59 kir Exp $
+ * $Id: page.inc,v 1.10 2000/12/05 11:15:32 max Exp $
*
*/
@@ -57,8 +57,11 @@
if (($sess->auto_init != "") && ($sess->in == "")) {
$sess->in = 1;
include($_PHPLIB["libdir"] . $sess->auto_init);
- if ($sess->secure_auto_init != "") {
- $sess->freeze();
+
+ if ($_PHPLIB["version"] != "4") {
+ if ($sess->secure_auto_init != "") {
+ $sess->freeze();
+ }
}
}
}
@@ -71,8 +74,11 @@
return;
$_PHPLIB["page_closed"] = 1;
+
if (isset($sess)) {
- $sess->freeze();
+ if ($_PHPLIB["version"] != "4") {
+ $sess->freeze();
+ }
if (isset($user)) {
$user->freeze();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: Max Derkachev: "Re: [phplib-dev] Session class with PHP4 sessions and custom handlers commited"
- Previous message: max: "[phplib-dev] cvs commit"
- Next in thread: max: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

