Make sure session is started. In some rare cases, php sees the session_id
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Oct 2005 21:03:05 +0000 (21:03 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Oct 2005 21:03:05 +0000 (21:03 +0000)
being empty after the session_destroy

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10198 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
src/login.php

index 65993e5c159e7a350ef2f9720e449987e2ddfd4f..57630f8d226a490a5d44ec642fbc8b9c0dc7f56d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -456,6 +456,8 @@ Version 1.5.1 -- CVS
   - Added extra field controls to address book class.
   - HttpOnly cookie support (cookies inaccessible by JS). This will protect 
     IE6 browsers.
+  - Rare case of session being destroyed causing PHP errors, so ensure session
+    is restarted.
 
 Version 1.5.0 - 2 February 2004
 -------------------------------
index 044286881778ca30ca795a3a22db50b91232544d..3068e234bb5f445843e59d2a93cb17f4be9c7d47 100644 (file)
@@ -50,7 +50,7 @@ $base_uri = sqm_baseuri();
  */
 
 sqsession_destroy();
-
+sqsession_start();
 header('Pragma: no-cache');
 
 /**
@@ -203,4 +203,4 @@ echo '</form>' . "\n";
 do_hook('login_bottom');
 
 ?>
-</body></html>
\ No newline at end of file
+</body></html>