But then how do you get the two distinct users in the two opened windows? They are sharing the same session object. And even if you generate a random number, how can you track in that jsp file and find out? Is there any way to tell jsp to use different session ids/objects for different browser windows which are getting open?? Cheers, Venu --- Kevin Duffey <[EMAIL PROTECTED]> wrote: > The only way I can think of is by having every link > of every page returned > apply some sort of random number. Something like: > > <a href="/path/page.jsp?number=<%= > bean.getRandomNumber() %>">click</a> in a > jsp page. > > That way, every link on every request has a > different URL each time its > returned. But, I don't see how that will resolve > your issue. > > > > -----Original Message----- > > From: A mailing list about Java Server Pages > specification and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of > Rathna > > Sent: Thursday, January 04, 2001 11:08 PM > > To: [EMAIL PROTECTED] > > Subject: Re: How does the session is maintained > incase of multiple > > loginfrom the same mac? > > > > > > hi, > > > > i am using cookies for the session tracking > (request.getSession( )), > > when i log into the system i will put the userInfo > object into the > > session object and each page i will check for > existence of the userInfo > > object in session , if exist allow the user to > continue the page > > ,stop it otherwise. > > > > if two browser instance in a mac. uses the same > session id , is > > there any other way of > > identifying or differentiating the session (like > using ip address > > of the client) ? so that the > > session information is not over written ... > > > > > > thanx in advance ... > > > > with rgds, > > rathna. > > > > > > > > > > Bhushan Bhangale wrote: > > > > > Hi > > > > > > The two browsers on the same machine will always > have two > > different session. You said they are using same > session object > > but they will have different session id. > > > > > > Do tell me whether you are maintaining session > using cookie or > > via url rewriting or the application server is > taking care of it. > > > > > > If you are using cookie then probably it is a > problem of you > > are taking care of this kind of situation. For > rest methods of > > maintaining session there won't be any problem. > > > > > > Anyway do write me back. > > > > > > Cheers!!!!!!!! > > > > > > ----------Original Message -------------- > > > hi all, > > > > > > How does the session is being maintained when > there is more than one > > > browser launched in the mac.? > > > > > > Here is the detailed description of the problem, > > > > > > i have a session which is associated with the > user.In the session i > > > have information about user privileges which > will be used in the > > > application. > > > when i have two browser logged into my > application with different user > > > login's, > > > both is sharing the same session object and > hence the privileges of > > > second > > > browser user will be used or accessed by the > first browser. > > > how to over come this problem? > > > > > > -- > > > Cheers, > > > rathna > > > > > > ���`���,���,���`���,�����,���`���,��,���`��� > > > > > > P Rathinavel > > > Sr.Systems Engineer - eCommerce Division > > > Wipro Technologies > > > Electronic City > > > Bangalore 561229, India > > > Tel : 8520420/416/424/408 Extn : 1322 > > > E-mail: [EMAIL PROTECTED] > > > www.wipro.com > > > > > > ���`���,���,���`���,�����,���`���,��,���`��� > > > > > > Thanks & Regards > > > Bhushan Bhangale > > > Consultant > > > http://www.netacross.com > > > Chequemail.com - a free web based e-mail service > that also pays!!! > > > http://www.chequemail.com > > > > > > > > > ================================================================== > > ========= > > > To unsubscribe: mailto [EMAIL PROTECTED] > with body: > > "signoff JSP-INTEREST". > > > For digest: mailto [EMAIL PROTECTED] with > body: "set > > JSP-INTEREST DIGEST". > > > Some relevant FAQs on JSP/Servlets can be found > at: > > > > > > http://java.sun.com/products/jsp/faq.html > > > http://www.esperanto.org.nz/jsp/jspfaq.html > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > -- > > Cheers, > > rathna > > > > > > ���`���,���,���`���,�����,���`���,��,���`��� > > > > P Rathinavel > > Sr.Systems Engineer - eCommerce Division > > Wipro Technologies > > Electronic City > > Bangalore 561229, India > > Tel : 8520420/416/424/408 Extn : 1322 > > E-mail: [EMAIL PROTECTED] > > www.wipro.com > > > > ���`���,���,���`���,�����,���`���,��,���`��� > > > > > ================================================================== > > ========= > > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff > > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with > body: "set > > JSP-INTEREST DIGEST". > > Some relevant FAQs on JSP/Servlets can be found > at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
