Before initialize, I initialize SecureRandom and works great! Thank you. -Kats ----- Original Message ----- From: "Peter Huber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 7:25 PM Subject: Re: getSession take too mush time.
No it's realy only the first number to compute with SecureRandom, following computation is much faster. It's simple to 'proof' it on your own. Look at java.security.SecureRandom api doc and write a little example on your own. Peter Katsuyuki Michishita wrote: > Yes, I use tomvat. So I do not have to worry a day later? > As long as Servlet applet is loaded on JVM, req.getSession() won't slow > again? > > -Kats > > ----- Original Message ----- > From: "Peter Huber" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 10, 2002 11:42 PM > Subject: Re: getSession take too mush time. > > is it tomcat? then it's because sessionids are computed by SecureRandom. > First > number takes about 5 seconds, thats normal > > Peter > > Katsuyuki Michishita wrote: > > > when I test req.getSession(true); or request.getSession(), > > my program take about 5 seconds to finish the line of the first > > getSession(). > > when the excecution hits getSession in other lines, it does not take such > a > > time. > > > > if you give me how to avoid this or if you know any idea why it took such > a > > time, can you please email me back. $B!'!K (B > > > > -Kats > > > > > ___________________________________________________________________________ > > 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 > > -- > > Peter Huber > (IT Consultant) > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > evodion Information Technologies > GmbH & Co KG > Gesch�ftsstelle M�nchen > Witneystr.1 > D-82008 Unterhaching > Telefon: +49-89-66561 - 128 > Fax: +49-89-66561 - 199 > e-mail: mailto:[EMAIL PROTECTED] > Germany Web: http://www.evodion.de > > ___________________________________________________________________________ > 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 -- Peter Huber (IT Consultant) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ evodion Information Technologies GmbH & Co KG Gesch�ftsstelle M�nchen Witneystr.1 D-82008 Unterhaching Telefon: +49-89-66561 - 128 Fax: +49-89-66561 - 199 e-mail: mailto:[EMAIL PROTECTED] Germany Web: http://www.evodion.de ___________________________________________________________________________ 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
