Re: Authentification related to browser window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vail, Warren wrote:
I'm not sure which session parameter controls it, but my sites are setup so
that opening a new browser window will start a new session, and if your
pages require something in the session saying the user is logged on, he will
be forced to logon in the new session, since the variable will not be there.
I believe the parameter is the same one that tells it to terminate a session
when closing the browser.

To make this work, EVERY single page looks for this special session
variable, and if not found in the session array it redirects the visitor to
the signon page.  This means that if his session times out, he will also be
sent to the signon page, next time he tries to change pages.  With two
separate session id's, one for each browser instance, the two browsers
operate pretty much independently, each using their own session data.

Can you post some code? To the best of my knowledge it is not possible to differentiate between browser windows. If new window is opened, it is still the same browser for the server, the original session is restored and your special session variable will be there.


To answer the original question - no it's not possible. It would need support in the browser.

Marek

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux