Re: Avoiding several windows with the same session
| From: | 1LT John W. Holmes | Date: | Fri, 07 Feb 2003 19:57:58 +0000 |
| Subject: | Re: Avoiding several windows with the same session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134779@lists.php.net to get a copy of this message | ||
> > 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?
No. It shouldn't matter, as that's a client side issue. Who cares how many
windows they have open.
---John Holmes...