What do you mean by it is not working? What is it doing?
Bindesh V Nair
Joined: Jun 16, 2004
It is not showing the no. of users online. I opened two internet explorers, then in the second browser window when i try to access the same web page the logic should work and it show the no. of users online. But it is still showing 1
Bindesh, The servlet is working correctly. Multiple sessions of IE share a session. If you have another browser on the machine, open it and then you get a new session. Or if you close IE and reopen it, you will get a new session.
The servlet is working correctly. Multiple sessions of IE share a session. If you have another browser on the machine, open it and then you get a new session. Or if you close IE and reopen it, you will get a new session.
I don't think this is right. Session is being generated by the server and not the browser, so browser has no control over how session is generated. I just tried it on my server and two different session ids are being generated by two sepate instances of IE.
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
This depends on a few things. If you open a new IE window from your existing 'session' (File>New>window) you may infact be sharing the 'session' in two windows. It may also be pssible that when you open a new instance of IE on an XP machine with low amounts of ram you are not always creating a new process...and may be sharing a 'session'....
Older versons of OS's and IE had a setting where you could force new windows to open in new sessions...but this is not the case with XP and IE6.
XP dictates whether new IE instances get a new Process. The more resources available to the system the more likely that that new window of IE will get a new process or session.
If the user creates a new session with ctrl-n they will always share the 'session' between windows as far as I can tell. [ June 19, 2004: Message edited by: Eric Schumacher ]
Joined: Jan 24, 2001
Alex [ June 19, 2004: Message edited by: Alex Kravets ]