block simultanous access of same page using the same session id ....?

liunx

Guest
hai every one

i want to allow one of my web page only in a single window ( browser window)
but when the user opens a new web browser using CTRL+N it opens the same page all

over again is there any why to check it...?
i could have checked for session id if it was a new session but the problem is

that when a window is opened using CTRL+N it opens a new window with the same

session id .... so can any one tell me a way to differenciate these two window so
so i can block simultanous access of same page using the same session id ....?

thanks in advance

austinWell with ctrl-n the page just opens to my home page on my browser. I am thinking you can check to see if a session var is set at the top of every page, if the var is not set you can set it and that is the person's window, but if the person trys to go to the page with an active session the var will be set and the user will be redirected somewhere. But this will get messy and it could cause problems if the user accidentally closes the window. Why do you want to do this?
 
Back
Top