bug 1445120, cookie login not working on IIS

This commit is contained in:
Marc Delisle
2006-03-13 23:14:50 +00:00
parent 50dc7744ed
commit 30afc8d7b0
3 changed files with 14 additions and 2 deletions

View File

@@ -1050,7 +1050,12 @@ if (!defined('PMA_MINIMUM_COMMON')) {
header('Location: ' . $uri . $separator . SID);
}
} else {
header('Location: ' . $uri);
session_write_close();
if (PMA_IS_IIS) {
header('Refresh: 0; ' . $uri);
} else {
header('Location: ' . $uri);
}
}
}
}