To quote Jason Hunter (Java Servlet, O'Reilly press):
"this is not a bug, its a feature.  Most servers automatically reload a
servlet after its class file (under the default servlet directory, such as
server_root/servlets) changes.  Its an on the fly upgrade procedure that
greatly speeds up the development-test cycle -- and allows for long server
up times."

When you upload a new servlet class, any persistant classes that were used
by that servlet also get reset.  I guess this includes sessions.  To the
best of my knowledge, there is no way to "turn this off".

hth

MV

----- Original Message -----
From: Brad Chesman <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Wednesday, May 19, 1999 8:23 AM
Subject: session problem


> I am using Jserv 1.0b4 and am having a slight problem with sessions.
> When I upload a new version of any servlet to the machine all the
> current sessions get invalidated or erased. Is this a bug? Can I change
> this in the config somehow?
>
> Brad Chesman
>
>
>
> -- --------------------------------------------------------------
> 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]



-- --------------------------------------------------------------
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