Page 1 of 1

problem with session and browser window

Posted: Tue Sep 09, 2003 9:30 am
by maldar
now i use sessions to identify my visitors of my site and want to restrict my user to use my services only from one browser window on her station(computer).now everey time she type her favoriate url(on my site) on a new window she can directly access her acount.
what do think about these:
is it normal?
is this possible?
is this good idea for increase security?
do you have any better or simillar sugesstion to do this? :?: :?
Thanks in advance

Posted: Tue Sep 09, 2003 9:33 am
by twigletmac
Sessions generally last for a browser session. Since PHP is server-side it cannot tell how many browser windows a user has open. Therefore you cannot prevent them opening a new window with the site in it, as to PHP this is the same as refreshing the current window...

Mac