Not knowing that JDSK 2.1 is not supported (found this in the FAQ), I
stubbornly worked through the configuration; I think I even got it
working.  I now have the following configuration working:

Microsoft NT 4.0 SP4
Apache 1.3.6
Apache JServ 1.0b3
Sun JDK 1.2.1
Sun JSDK 2.1
Microsoft Internet Explorer 5.0
IBM XML4J 2.0
MKS Perl 5.004

I'm trying to get the code from April '99 JavaPro magazine "XML Filtering
with Servlets".  There's some bugs in the code I still have to work out,
but I think I've got a configuration problem too.

I run ther servlet using http://localhost/test/QuestionServlet and the
test question gets displayed.  I check the Request in Session entry of
jserv.log.  I make my answer selections and hit the score button.  I then
check the Request in Session entry for the POST generated by the button
click.

The problem is that the two consecutive requests have different session
id's.  Here's an excerpt from the log file:

[01/05/1999 01:05:49:930 EDT] Connection from localhost/127.0.0.1
[01/05/1999 01:05:49:940 EDT] Initializing servlet request
[01/05/1999 01:05:49:940 EDT] Reading request data
[01/05/1999 01:05:50:110 EDT] Parsing cookies
[01/05/1999 01:05:50:120 EDT] Request is in session
3fef28b187ac36f5.14.925534460569
[01/05/1999 01:05:50:150 EDT] Calling service()
[01/05/1999 01:05:50:270 EDT] Sending response headers.
[01/05/1999 01:05:54:917 EDT] Connection from localhost/127.0.0.1
[01/05/1999 01:05:54:927 EDT] Initializing servlet request
[01/05/1999 01:05:54:927 EDT] Reading request data
[01/05/1999 01:05:54:957 EDT] Parsing cookies
[01/05/1999 01:05:54:957 EDT] Request is in session
3fd9f66a8c702c80.15.925534481188
[01/05/1999 01:05:54:967 EDT] Calling service()
[01/05/1999 01:05:54:987 EDT] Sending response headers.

Any ideas on why the session ID would change?



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to