RE: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Shapira, Yoav
Hi, >Look what I found: > >session cookies not working with Tomcat and Apache ReverseProxy > >http://www.jguru.com/faq/view.jsp?EID=53878 > > >It is a known issue/bug ? ;) It's amusing, that's for sure. First, the original issue is from 2000. Then there's someone on the above thread who says

Re: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Mark
ended (too long > > between > > > > > > requests)? > > > > >nope, another servlet get session with no problem. and after > > few > > > > >minutes servlet is null problem just works fine. > > > > > > Check how long you have conf

Re: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Mark
gt; > Is it possible that your session has ended (too long > > between > > > > > > requests)? > > > > >nope, another servlet get session with no problem. and after > > few > > > > >minutes servlet is null problem just works fine. > > > &g

Re: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Mark
let is null problem just works fine. > > > > > Check how long you have configured sessions to be active > (in > > > > > web.xml). Is > > > > > it possible you are losing the encoded session ids (if > > cookies > > > are > > > > > not being > >

Re: request.getSession(false) randomly returns null in servlet

2004-10-15 Thread Mark
gt; > not being > > > > used)? It's easy to miss an encoded URL on a page for > get/post > > and > > > > thus lose > > > > the session id on the next request. Then again, I've seen > bugs > > > > before in > > > > w

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Justin Ruthenbeck
ED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 12, 2004 8:36 AM > Subject: request.getSession(false) randomly returns null in servlet > > > > Hi All, > > I have unstable behavior in my web application when I try to get > > HttpSession. > > The pr

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
client side(browser). When I look at the source page URL is not encoded. > > David > Any other ideas? > - Original Message - > From: "Mark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 12, 2004 8:36 AM > Subject: re

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread David Wall
day, October 12, 2004 8:36 AM Subject: request.getSession(false) randomly returns null in servlet > Hi All, > I have unstable behavior in my web application when I try to get > HttpSession. > The problem is that the following code randomly returns _null_ for > HttpSession. > > B

request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
Hi All, I have unstable behavior in my web application when I try to get HttpSession. The problem is that the following code randomly returns _null_ for HttpSession. But next http request from different servlet using the same code is fine. and when I call servlet with problem I've got null again.