That's interesting.. the session id should be different for each instance of the browser. The only exception I can think of is the MacOS since it runs multiple windows within the same instance of the application. This assumption is untested of course. Maybe it would help for you to explain why you need to do this? -Kevin
----- Original Message ----- From: "Roman Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 11:56 AM Subject: [PHP] Avoiding several windows with the same session > I place > > session_start(); > if (!session_is_registered('somevar')) > { > header('location: login.php'); > exit(); > } > > at the top of all my pages to prevent people to view pages before they log > in. However, once thay have logged in succesfully, they can ctrl-U in IE to > open a new window. This new window 'inherits' the session id and hence it > does not redirects to the login page. Is there any way to avoid this > situation so that people cannot have several windows with the same session > open? > > Thanks! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php