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

Reply via email to