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 8144be0..0b47fd2 100644 (file)
@@ -196,7 +196,8 @@ $attachments = unserialize(getPref($data_dir, $username, 'attachments', 0));
        $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 ----------------------- */