From 7bde5272aafced1d3dc60d54af232c90456a58b6 Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 30 Sep 2002 17:34:31 +0000 Subject: [PATCH] Writeout session data to disk before redirecting. Suggestion from Thomas. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3753 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/redirect.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redirect.php b/src/redirect.php index 8144be01..0b47fd2d 100644 --- a/src/redirect.php +++ b/src/redirect.php @@ -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 ----------------------- */ -- 2.25.1