Re: getSession take too mush time.

2002-01-14 Thread Katsuyuki Michishita
it's woks, thank you so much :) -Kats - Original Message - From: "Kevin McBrearty" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 11:49 PM Subject: Re: getSession take too mush time. > I believe the p

Re: getSession take too mush time.

2002-01-11 Thread Kevin McBrearty
I believe the problem has to do with the initialization of the random number generation used for generating session id's. That's why it only happens on the first request. To get around this you can force the initialization in a startup servlet. Try something like this: new java.security.SecureRan

RE: getSession take too mush time.

2002-01-11 Thread Mike Curwen
Hi, This is a closely related question, so thought I'd use this thread. I'm the co-moderator of a Java Servlets forum, and a question came up recently that I have never heard of before. It seems a user has found that request.getSession() takes a very long time to return if he is using Netscape b

RE: getSession take too mush time.

2002-01-10 Thread Raymond Lee
, 2002 2:49 PM To: Tomcat Users List Subject: Re: getSession take too mush time. Thank you for Reply:) The first time is bit slow.. true. How about "after the session is time out, or on other users' request?" As long as Servlet is loaded on VM, and called once, it is prett

Re: getSession take too mush time.

2002-01-10 Thread Katsuyuki Michishita
ROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 3:18 PM Subject: RE: getSession take too mush time. > But only first time call to request.getSession() takes a little bit long time. > After that, it is pretty fast :) > > Raymond

RE: getSession take too mush time.

2002-01-10 Thread Raymond Lee
But only first time call to request.getSession() takes a little bit long time. After that, it is pretty fast :) Raymond -Original Message- From: Katsuyuki Michishita [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 11:33 AM To: Tomcat Users List Subject: Re: getSession take too

Re: getSession take too mush time.

2002-01-10 Thread Katsuyuki Michishita
Is there any solution for not taking too much time like this? -Kats - Original Message - From: "Katsuyuki Michishita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 12:00 PM Subject: getSession take too mush time. > request.getSession() take 5 second to execut