Actually the sessions are being created. I can see that using Dynamo Administration. Now I still don't understand why during the regular operation of the browser I can see session invalidation messages. I put an object in the session that implements HttpSessionBindingListener and I can see a message when a session is invalidated.
But if I run the test cases, for which I'm using junit.textui.TestRunner, why do I not see these same invalidation messages? Moreover I don't get any cookie back including JSESSIONID, in the endXXX () method when I invoke WebResponse.getCookies (). Still don't know how to deal with HttpSession.isNew() and nor why I can't see server side logs. I'm probably just going to call this whole thing off. - Shriniwas Wagle > -----Original Message----- > From: Wagle, Shriniwas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 5:33 PM > To: 'Cactus Users List' > Subject: RE: Why can't I see JSESSIONID cookie in the WebResponse? > > > Charles, > > I'm using Cactus 1.4.1 & Dynamo 5.1 which is servlet api compliant. > > I'm having some problems with Dynamo administration and while I try to > figure that out, this is what I observed : > I had set the sessions to be auto invalidated in 15 min. In > the normal > course of the application using a browser, I can see messages > on the console > whenever the session is invalidated. I did not see that happen while > running the test cases, which I'm running using > junit.textui.TestRunner. > > But how is it possible that a new session is not being created? > I don't think WebRequest.setAutomaticSession(false) can have > any impact > because the application is responsible to create a new > session if one does > not already exist. > > Thanks > Shriniwas > > > > -----Original Message----- > > From: Charles Massey [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, September 18, 2002 5:17 PM > > To: 'Cactus Users List' > > Subject: RE: Why can't I see JSESSIONID cookie in the WebResponse? > > > > > > Hmm, this works for me (although I'm using Cactus 1.3) If I > > remember, you > > are using Dynamo. Can you check to see if Dynamo is > > definitely creating new > > sessions. You can see this from the SessionManager in the > > administration > > tool. > > > > Charley > > > > -----Original Message----- > > From: Wagle, Shriniwas [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, September 18, 2002 12:52 PM > > To: '[EMAIL PROTECTED]' > > Subject: Why can't I see JSESSIONID cookie in the WebResponse? > > > > > > > > In the endXXX (WebResponse theResponse) method, > > theResponse.getCookies() does not return me any cookies. > > > > I was expecting to be able to see the JSESSIONID cookie there. > > Does any one know why I don't see that cookie? > > > > Thanks > > Shriniwas Wagle > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
