tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kenneth topp <cau...@prodigy.net>
Subject adding sessionId to apache logs
Date Tue, 14 Nov 2000 00:36:13 GMT


Well, I did it, and it was too easy.

Adding a line in SessionInterceptor.beforeBody():

        response.addHeader("jsessid", (reqSessionId!=null) ? reqSessionId
                                     : rrequest.getRequestedSessionId() );


And in httpd.conf:

LogFormat "%h %l %{jsessid}o %t \"%r\" %>s %b" toppkcommon


Wow... too simple... now I need the program to interprete the info ;)

Thanks tomcat crew, thanks apache crew,

Kenneth


Mime
View raw message