Create a frame set.

if your page opens without frameset the did something wrong, at least not 
allowed. (like open in a new window)
If the main page, containing the frameset is loaded, the page is opened in a 
new window or they pressed f5(reload).


===========
We've considered using javascript but cannot think of a way that would work.
Take a simple example, 2 browsers - opened separately, pointing at different
pages. We thought that we could set some property of each instance of the
browser to a unique value (i.e. the window name). We would only need to do
it once, when entering the site.

But, when a new page is loaded there is no way from PHP to grab this unique
value, unless it has been sent to the loaded page as a GET or POST variable.
This would mean that we would have to pass this value to every page as a GET
or POST variable. GETs are problematic, leaving us with POSTs only. But
POSTING to every page is a pain.

Is there any other way?


>-----Original Message-----
>From: Dennis Moore [mailto:[EMAIL PROTECTED]]
>Sent: 04 March 2002 15:28
>To: Neil Kimber; [EMAIL PROTECTED]
>Subject: Re: [PHP] Multiple browser instances - is it possible to
>determine which browser?
>
>
>You may consider the use of Javascript to control the parent and child
>windows and frames of your application.
>
>/dkm
>
>
>
>----- Original Message -----
>From: "Neil Kimber" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, March 04, 2002 9:51 AM
>Subject: [PHP] Multiple browser instances - is it possible to determine
>which browser?
>
>
> > We have an application framework that tidies up application session
> > variables as you traverse from page to page. It works really nicely -
>until
> > a user opens up 2 instances of a browser. Our code cannot distinguish
> > between different browser instances, so browser instance 2 causes our
> > application session vars for browser instance 1 to be cleared out.
> >
> > We've toyed with many ideas and short of forcing a unique
>hidden value to
>be
> > 'POST'ed to every page from every page we don't have an elegant
>solution.
>Is
> > there any other way that we could do this?
> >
> > Neil
> >
> >
> > --
> > 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


_________________________________________________________________
Meld je aan bij de grootste e-mailservice wereldwijd met MSN Hotmail: 
http://www.hotmail.com/nl


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to