Writeout session data to disk before redirecting. Suggestion from Thomas.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 30 Sep 2002 17:34:31 +0000 (17:34 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 30 Sep 2002 17:34:31 +0000 (17:34 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3753 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/redirect.php

index 8144be017f7d329a99e04fe610441d7bba84bd73..0b47fd2d94b0e0de09ad534074a8e53a1ba19b41 100644 (file)
@@ -196,7 +196,8 @@ $attachments = unserialize(getPref($data_dir, $username, 'attachments', 0));
        $redirect_url = 'webmail.php';
     }
 
        $redirect_url = 'webmail.php';
     }
 
-/* Send them off to the appropriate page. */
+/* Write session data and send them off to the appropriate page. */
+session_write_close();
 header("Location: $redirect_url");
 
 /* --------------------- end main ----------------------- */
 header("Location: $redirect_url");
 
 /* --------------------- end main ----------------------- */