Hi, am not sure to understand you. Please provide more detailed information about the case in which 2 browser windows get 2 logins. Provide the exact steps you issue from the 'opening the first browser windows' to 'you have 2 different sessions'. At each step give us the url you are at and whether or not there is a cookie set in browser.
Alexander Khoo a écrit : > Hi, > > Thanks for the answer! I have tried but the problem is when i sucessfully > login in to the page & click "CTRL N" to open another browser & click refresh > the previous screen appear.So i got 2 sucessfully login page now! & we are > trying to lock the URL aswell from showing the jsessionid...for example: > > 1) http://www.abc.com/test/index.jsp;jsessionid12323213 > > to > > 2) http://www.abc.com/test/ (this also apply to other page within the same > browser if user click) > > Regards, > Alexander Khoo > > > > ----- Original Message ---- > From: David Delbecq <[EMAIL PROTECTED]> > To: Tomcat Users List <users@tomcat.apache.org> > Sent: Wednesday, September 20, 2006 4:40:47 PM > Subject: Re: Restrict Session In One Browser! > > > Hi Alexander. > Because tomcat use a session cookie (JSESSIONID), the sessions are > already limited to one per browers, except if the user deactivate > cookie, in which case only the Url rewriting mecanism is used. In the > last mecanism, if the flow of page is interrupted (by accessing an url > not rewritted with session id), a new session will be created. > Anyway, nothing prevents user to start 2 Browsers. > > Alexander Khoo a écrit : > >> Dear users, >> >> Can anyone help on restricting 1 session per browser? >> what we are trying to archieve here is when the users sucessfully login to >> our server & establish a session, we want that session to lock in that >> current browser & when another browser is open it show the previous login >> page again!!! >> >> Please Help!!! >> >> Regards, >> Jujai >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]