problem with session and browser window

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
maldar
Forum Commoner
Posts: 49
Joined: Mon Aug 18, 2003 4:39 pm

problem with session and browser window

Post 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
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

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