Will the URL rewriting is the solution for this
problem of having the same session id??
Just a thought,
Venu
--- Venu Gopal <[EMAIL PROTECTED]> wrote:
> I'm facing the same problem both in IE & NS :-(. But
> isn't there any solution for this??? Is there any
> way
> to compare the session ids equality and then get /
> set
> values to the sessions? (or) is there a way to find
> the browser instances? I'm just trying to find a way
> for this.
>
> Please help,
>
> Cheers,
> Venu
>
> --- Hung Yee <[EMAIL PROTECTED]> wrote:
> > Ok, this is what I've experienced with IE and
> > Netscape on Windows NT
> > regarding session ids:
> >
> > 1) if you have a version of IE that has been
> enabled
> > to launch browser
> > windows in a separate process, than clicking on
> the
> > IE icon will generate
> > separate instances of IE. In this case, they will
> > have different session
> > ids because the session id cookie that the JSP
> > engine places on the browser
> > to track the session will be different for each
> > separate browser instance
> > since they do not share the same memory space.
> See
> > the following Microsoft
> > KnowledgeBase article about launching separate
> > browser windows:
> >
> >
>
http://support.microsoft.com/support/kb/articles/Q240/9/28.ASP?LN=EN-US&SD=g
> >
>
n&FR=0&qry=separate%20process&rnk=2&src=DHCS_MSPSS_gn_SRCH&SPR=IE
> >
> > 2) I'm using Netscape Communicator 4.76 on WinNt
> and
> > even though I click on
> > the NS icon twice to create two browser windows,
> > they do not create separate
> > processes but instead use the same process (I
> > checked this using the Windows
> > task manager and saw that they use the same
> process
> > id). Because they use
> > the same process, they share the same memory
> space,
> > and consequently, the
> > same session cookie id.
> >
> > Remember that for session management, unless you
> are
> > doing URL rewriting,
> > the JSP or Servlet engine stores a session id on
> the
> > server AND places the
> > same session id in a cookie on the client side so
> > that it can track a
> > browser's session. If the session id from the
> > cookie doesn't match with
> > what's on the server, the server says 'ah, this is
> a
> > new browser session'
> > and proceeds to generate a new session id for the
> > browser AND sends a new
> > session id cookie to the browser to start tracking
> > this new session all over
> > again.
> >
> > So, I guess the moral of the story for 'session
> > management' is "programmer
> > be aware" :-)
> >
> >
> > -----Original Message-----
> > From: SANDARBH SHARMA
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 28, 2000 9:11 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Session - clarify please
> >
> >
> > this is getting confusing if the servlet is
> > displaying session id then it
> > should not be browser specific as servlet runs at
> > the server side and not at
> > client side, It should give seperate id
> irrespective
> > of browser
> > sandarbh
> >
> > >From: "Nimmons, Buster" <[EMAIL PROTECTED]>
> > >Reply-To: A mailing list about Java Server Pages
> > specification and
> > > reference <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: Session - clarify please
> > >Date: Thu, 28 Dec 2000 10:56:47 -0600
> > >
> > >One thing to look out for with new windows is
> that
> > browser windows opened
> > >with the
> > >File---> New Window menu item will share the same
> > session ID. However if
> > >you
> > >double click on the IE or NS icon to open a new
> > window each browser will
> > >have seperate session IDs
> > >
> > >-----Original Message-----
> > >From: Srinivasan, Pratibha (CORP, GEITC)
> > >[mailto:[EMAIL PROTECTED]]
> > >Sent: Thursday, December 28, 2000 12:37 AM
> > >To: [EMAIL PROTECTED]
> > >Subject: Session - clarify please
> > >
> > >
> > >hi,
> > >I have a very basic question. I have a servlet
> > which prints out the session
> > >id.
> > >I open a Netscape browser window and run this
> > servlet. Then I open another
> > >Netscape window and run the same servlet. What I
> > find is that the session
> > >id
> > >is the same in both cases that is both the
> windows
> > are in the SAME session.
> > >When I do the same with IE, I observe that the
> > session ID is different in
> > >both cases that is the windows belong to
> DIFFERENT
> > sessions.
> > >Is the concept of Session browser specific?
> > >Regards,
> > >Pratibha
> > >
> >
>
>===========================================================================
> > >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
> >
> >
>
_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> > body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with
> body:
> > "set JSP-INTEREST
>
=== message truncated ===
__________________________________________________
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