Re: Avoiding several windows with the same session
| From: | 1LT John W. Holmes | Date: | Fri, 07 Feb 2003 20:14:21 +0000 |
| Subject: | Re: Avoiding several windows with the same session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134782@lists.php.net to get a copy of this message | ||
> If you are using cookies the new window will pick it up. Have the original
> page change a variable to say that it has loaded then when the new window
> loads have it check that variable first.
How do you tell a "new window" from a "new request" though? You can't. The
cookies are all there, the session is still there. Two requests from two
windows will look the same as two requests from a single window to a web
server. It shouldn't matter to your application.
---John Holmes...