You havta do http redirect at the end of page.
authorondrass <ondrass@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 14 Dec 2000 15:25:25 +0000 (15:25 +0000)
committerondrass <ondrass@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 14 Dec 2000 15:25:25 +0000 (15:25 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@888 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/redirect.php

index d958756f02ace5d8f8e22a32c017a1dca261647a..8075f360fa3e80eeac5282b8c2c59cae5088a188 100644 (file)
@@ -23,7 +23,6 @@
 
    header("Pragma: no-cache");
    $location = get_location();
-   header("Location: $location/webmail.php");
 
    session_set_cookie_params (0, $base_uri);
    session_start();
@@ -69,4 +68,5 @@
    session_register ("user_is_logged_in");
    $user_is_logged_in = true;
 
+   header("Location: $location/webmail.php");
 ?>