Re: [PHPLIB] Warning - Same session in two browsers? From: Sam Liddicott (hea176136 <email protected>)
Date: 11/25/99

Simon Sadler <simon.sadler <email protected>> said:

> Thanks for your help Florian.
>
> I think my empty objects must be down to the multiple browser
windows
> sharing one session record. I was heading down that road anyway
but you've
> helped me confirm that. Thanks.
>
> I guess that the best way around this is to have the user log on
every time
> they open a new window. It would be even better if I could detect
whether
> they were already logged on in another window and create a new
session
> straight away. Then there would be different session IDs using
different
> records. Any idea how to do this?

I think you just cannot tell the difference, CTRL-N in IE makes a
new window with a copy of the contents without re-requesting.

Which one is new? If you close your eyes when you do CTRL-N and
atl-tab a few times, you won't know which one is new, neither will
IE, and neither can the server.

IMHO the session should store NOTHING about the current page. Any
page specific stuff should ONLY be done with forms, and stored in
hidden fields - encrypted if it needs to be secure.

Sam

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.