[EMAIL PROTECTED] writes:
>Check:
>- Is there any line of your codes/our 3rd paty codes called "invalidate()"

I take it that you're asking "Is any function named invalidate() called in
the QuestionServlet source... the answer is no, I did a grep.
>
>- What is your sesison validation timeout ? It may be too small

Following are what I believe to be the relevant lines from httpd.conf:

Timeout 300
KeepAlive On
KeepAliveTimeout 15

The log file reported the two requests occurring within roughly 5 seconds
of each other, so I don't think that's the problem.
>
>- Try the same example with JSDK2.0; I have not tried 2.1
>
>BTW: Does JServ 1.0b3 support JSDK2.1 and JDK1.2 ? I though there were
>some
>change in context management. It may also cause some trouble.

The problem is, I can't find how to get the JSDK 2.0.  From
http://java.sun.com/products/servlet/ you can ONLY download the JSDK 2.1! 
I'd be happy to try JSDK 2.0 if I could get it.
>
>
>Steve Nguyen
>[EMAIL PROTECTED]
>Professional in Mail & Java(tm)
>KBMail Professional Service Provider
>http://www.kbmail.com
>
>-----Original Message-----
>From: Bob Blackard <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
><[EMAIL PROTECTED]>
>Date: Monday, May 03, 1999 10:11 PM
>Subject: JServ 1.0b3, JSDK 2.1and Session Management
>
>
>>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