I am looking for exactly the same thing. There must be a way to handle this
problem from php. Doing it from javascript makes sense only if you have a
simple website. Besides I don't use frames, so even with javascript I can't
solve the problem.

Maybe there's a way to find a browser's unique id!

Any ideas....would be helpful!!!

-----Original Message-----
From: Neil Kimber [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 16:02
To: LuC .; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Multiple browser instances - is it possible to
determine which browser


How would that help directly in PHP? PHP cannot interrogate framesets or
other attributes of the browser. I could see this working if we had
javascript that wanted to keep track of which browser instance is being
handled. But from PHP I don't see how this could work.

PHP can interrogate the browser to some extent (i.e. to ask for the browser
name/version etc..), I guess that what we are looking for is some property
of the browser that we can set that PHP can also pickup, or some unique id
for a browser instance.

> -----Original Message-----
> From: LuC . [mailto:[EMAIL PROTECTED]]
> Sent: 04 March 2002 15:46
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Multiple browser instances - is it possible to
> determine which browser
>
>
> 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


--
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

Reply via email to