Thanks Mak & Andrew.
To Andrew
----------
I am already doing URL rewriting and it has nothing to do with it .
Secondly, the user is allowed log in both as NORMAL as well as ADMIN because he can play 2 different roles. So he may use the same m/c and try to login as both users at the same time.
To Mak
-------
You are correct in your 1st sentence.
Also the user can login either by doing File->new (which is the same as CTRL+N).Or he can also login by clicking the netscape icon on the desktop twice. But here there is a catch.
There is a difference in the way IE and Netscape work.
In Netscape, whatever you do i.e. CTRL+N or File->New or click 2 times on the desktop icon, internally the process launched by Netscape is only one ... both the windows work internally as a single
thread.
In IE, if you say CTRL+N or File->New , it creates the 2nd window as a child window and shares the browser instances. BUT BUT BUT if you open 2 new windows by clicking on the desktop icon twice then they are 2 totally different and separate processes and each one is mutually exclusive to the other.
Hence in netscape I cant do anything at all, But in IE if the user uses the desktop icons to launch windows then there is absolutely no problem and user can log on any no. of times.
I have modified my code to restrict the user from entering the application a 2nd time from the same m/c, but this is not acceptable in realtime situation. If u or anyone has any other solution then pls do tell me .
Thanks