Ctrl+N window problem
Posted: Thu Sep 26, 2002 4:50 pm
Hi All,
I'm new in this forum, so maybe this topic was discussed exhaustively and somebody forward me to the source.
I'm writing a secure web application and It has to be modal, i.e. only
one window has to be available for user. When user opens a completely new browser window everything is ok, i handle this with no problems.
Situation is different when user press Ctrl+N. In this case there is no request to server at all, and new window obtain all cookies and session_id from the first one (while in first case of completly new browser window it doesn't obtain old session_id). So it seems that it is practically impossible to distinguish two windows from server side.
The only idea i have now is to send post var to each script, in this case IE will will request a refresh from new Ctrl+N window and i'll get control. But this variant seems gloomy to me.
I will appreciate any fresh idea from you all.
I'm new in this forum, so maybe this topic was discussed exhaustively and somebody forward me to the source.
I'm writing a secure web application and It has to be modal, i.e. only
one window has to be available for user. When user opens a completely new browser window everything is ok, i handle this with no problems.
Situation is different when user press Ctrl+N. In this case there is no request to server at all, and new window obtain all cookies and session_id from the first one (while in first case of completly new browser window it doesn't obtain old session_id). So it seems that it is practically impossible to distinguish two windows from server side.
The only idea i have now is to send post var to each script, in this case IE will will request a refresh from new Ctrl+N window and i'll get control. But this variant seems gloomy to me.
I will appreciate any fresh idea from you all.