Do a word search on "random" and you shall find the answer.
http://www.mslinn.com/sites/tomcat/server.xml.html
-----Original Message-----
From: Alec Bau [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 7:13 PM
To: tomcat-user list
Subject: Fast session id generator?
Sorry for repeating question that I remember was already asked but I
failed to
find the answer in archives. Tomcat 3.2.1 takes a very long
(unacceptable, imo)
time to respond to the 1st request for the particular client, afterwards
things
go much faster.
If I recall correctly solution was to replace default session id
generator based
on java.security.SecureRandom(), that's slow to init with a new seed,
with the
much faster, though less safe, standard Random class or Math.random.
That could
be easily done by tweaking something in server.xml file. Could, please,
somebody
remind me how to do this?
Thanks,
Alec
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]