Page 1 of 1

displayMessage in IE

PostPosted: Fri Aug 10, 2007 9:52 am
by lking79

I use these lines in the center pane to lock the access of a page if a session variable is set

if($_SESSION['locked']==1) {
echo "<script>displayMessage('session/locked.php');</script>";

The background gets disabled. Now when I hit the refresh button in Firefox, the page gets reloaded and the message displayed again, as expected since the variable is still 1.

But under IE, the page reloads, but the message isn't displayed, given access to the page.

Has anyone an idea? thanks