Built Tomcat from source and change the few java class files where jsessionid is in.

What we once did: Patch the binary! :-)
you can grep for jsessionid in the tomcat jars somewere in server/lib (don't ask me which, but 1 think in 2-3 jars there was 1 class file each)


You may simple replace the string in the binaries with a different one. But then you must make sure that the new id string has the same length (otherwise you would corrupt the class file).

thus "jsessionid" could be renamed to "mycustomid" using the binary patching, but not to "sid". If you want this... use the source.

Cheers,
Michael

Ben wrote:

How can I use a different name for the session id?

I would like to use:

SID=27D2A9CA7006C94A9CAAE1D96D4D39BD

instead of:

jsessionid=27D2A9CA7006C94A9CAAE1D96D4D39BD

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to