some progress .. Actually before getting in to that page i have a main page which contains two frames .. one frame reloads other frame to get the latest data from some bean .. it uses reload() java script method .. i was printing session id for both frames but randomly i was getting different session ids !!!!!!! I noticed that before reloading the other frame has the same session id but when reloaded a new session is created ... i tried servletExec with apache but with same results .. then i commented out line to call reaload() then i didnt get the same session id !!!! it is important for the code to reload the other frame so i cant live with out it .. i tried using parent.statusframe.location="status.jsp" but it is again giving me the original problem .. Anybody of u have the idea why this is happening ?? and how i can relaod a jsp page in another frame without ending up having a completely new sessiod in the same browser session ?? thanks in advance. naveed >From: Naveed Khan <[EMAIL PROTECTED]> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java > Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Multiple session in one browser >Date: Tue, 25 Jul 2000 21:02:56 PKT > >I checked my code and i m using relative paths everywhere.. and again this >is happening randomly .. > >thanks .. > >naveed > > >>From: Kyallee Dalrymple <[EMAIL PROTECTED]> >>Reply-To: "A mailing list for discussion about Sun Microsystem's Java >> Servlet API Technology." <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Re: Multiple session in one browser >>Date: Tue, 25 Jul 2000 09:37:10 -0600 >> >>Did the way you reference your server in the URL change between the call >>to >>one page and the call to the next? >> >>If I reference my server by IP address and then later by name, I'll get >>two >>sessions. So will using "localhost" and then switching to IP or name. I >>think I can end up with four separate sessions -- one for "localhost", one >>for the IP address, one for the server name, and one for >>servername.domain.com. Be careful! >> -- Kyal >>---------------------------------------------------- >>Kyallee Dalrymple [EMAIL PROTECTED] >>Senior Software Engineer >>BrandMatrix, Ltd. http://www.brandmatrix.com/ >>---------------------------------------------------- >> >> > -----Original Message----- >> > From: A mailing list for discussion about Sun Microsystem's Java >>Servlet >> > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of >> > Naveed Khan >> > Sent: Tuesday, July 25, 2000 12:58 PM >> > To: [EMAIL PROTECTED] >> > Subject: Re: Multiple session in one browser >> > >> > >> > One thing i see is that the very list line of my jsp page >> > is: >> > <jsp:useBean id="obj" scope="session" class="MyObj" /> >> > >> > now when that page is loaded i think session is not found so a session >>is >> > created and thats why we get an object bound to a session message >> > .. I also >> > noted that default constructor is called for MyObj which is again >> > the result >> > of session and in turn object not being found .. >> > >> > Any idean what would force a jsp to create a new session ?? >> > >> > >> > naveed >> > >> > >> > >> > >> > >From: Naveed Khan <[EMAIL PROTECTED]> >> > >Reply-To: "A mailing list for discussion about Sun Microsystem's Java >> > > Servlet API Technology." <[EMAIL PROTECTED]> >> > >To: [EMAIL PROTECTED] >> > >Subject: Multiple session in one browser >> > >Date: Tue, 25 Jul 2000 06:13:44 PKT >> > > >> > >Hi, >> > > >> > >I m using jrun as servlet engine. I have noticed that randomly i end >>up >> > >having two different sessions in one >> > >browser instance.. I m doing proper logging of significat events.. a >> > >sample >> > >log is : >> > > >> > >-InitServlet:init:Starting Logger >> > >-New Session created:com.livesoftware.jrun.JRunSession@92b861b8 >> > >-MyObj: MyObj@952c61ba BOUND to the session : >> > >com.livesoftware.jrun.JRunSession@92b861b8 >> > >............. >> > >............. >> > >............ >> > >-MyObj: MyObj@7d4861bd BOUND to the session : >> > >com.livesoftware.jrun.JRunSession@730461bd >> > >-inside jsp page >> > >- >> > > >> > > >> > >the above protion is ONLY produced when there was only one browser >> > >instance..Note the different session id .. >> > >There is only one place is the whole code where i m creating new >> > session.. >> > >on rest of places i m using >> > >request.getSession(false) call to get session ... MyObj class >>implements >> > >HttpSessionBindingListener as u can >> > >see on third line of log trace ...now after InitServlet is done a page >>is >> > >shown to user and when the user hits >> > >a button i m loading a jsp page but before getting inside that page i >>see >> > >in >> > >log file that another instance of >> > >MyObj is bound to a totally different session !!! >> > > >> > >Anybody has any idea why is this happening ?? >> > > >> > >Remember that this is happening randomly ..and i m using IE and >> > i dont use >> > >"open in new window" feature of IE.. >> > > >> > > >> > >Any help would really be appreciated . >> > > >> > > >> > >Naveed >> > >> >________________________________________________________________________ >> > >Get Your Private, Free E-mail from MSN Hotmail at >>http://www.hotmail.com >> > > >> > >_________________________________________________________________ >> > __________ >> > >To unsubscribe, send email to [EMAIL PROTECTED] and include >> > in the body >> > >of the message "signoff SERVLET-INTEREST". >> > > >> > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >> > >Resources: >>http://java.sun.com/products/servlet/external-resources.html >> > >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html >> > >> > >>________________________________________________________________________ >> > Get Your Private, Free E-mail from MSN Hotmail at >>http://www.hotmail.com >> > >> > __________________________________________________________________ >> > _________ >> > To unsubscribe, send email to [EMAIL PROTECTED] and include >> > in the body >> > of the message "signoff SERVLET-INTEREST". >> > >> > Archives: http://archives.java.sun.com/archives/servlet-interest.html >> > Resources: http://java.sun.com/products/servlet/external-resources.html >> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html >> > >> >>___________________________________________________________________________ >>To unsubscribe, send email to [EMAIL PROTECTED] and include in the >>body >>of the message "signoff SERVLET-INTEREST". >> >>Archives: http://archives.java.sun.com/archives/servlet-interest.html >>Resources: http://java.sun.com/products/servlet/external-resources.html >>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > >________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > >___________________________________________________________________________ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html