>Number: 3879 >Category: mod_jserv >Synopsis: request.getSession does not find earlier sessions >Confidential: no >Severity: serious >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 11 06:30:00 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: Apache/1.3.3 (Unix) >Environment: Red Hat Linux release 5.0 (Hurricane) Kernel 2.0.32 on an i586 >Description: this.request = aRequest; this.response = aResponse; this.session = request.getSession(false); if (session == null) { this.session = request.getSession(true); trace("New session " + session.getId()); }
The code above always creates a new session. The same servlet runs fine on servletrunner and JRun on WinNT. >How-To-Repeat: http://www.gathering.org/tg99 uses the servlet, but I can't see how you can see what is wrong. >Fix: I was using JServ 0.9.11. Maybe that is the problem? We have downloaded 1.0b2 and configured, run make, and make install. However mod_jserv.c is on the list of compiled-in modules, so maybe we have to recompile Apache? >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]