Please go through this link
http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html
inside this at last there is

Restart Persistence

    Whenver Catalina is shut down normally and restarted, or when an
application reload is triggered, the standard Manager implementation will
attempt to serialize all currently active sessions to a disk file located
via the pathname attribute. All such saved sessions will then be
deserialized and activated (assuming they have not expired in the mean time)
when the application reload is completed.

    In order to successfully restore the state of session attributes, all
such attributes MUST implement the java.io.Serializable interface. You MAY
cause the Manager to enforce this restriction by including the
<distributable> element in your web application deployment descriptor
(/WEB-INF/web.xml).

I want to do this that means I want to save the active sessions.And what to
write inside <distributable> element in web.xml

-----Original Message-----
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 6:40 PM
To: Tomcat Users List
Subject: Re: how to persist a session

That's true and I've restled with the javascript or no javascript
question myself a few times.  I think with all the AJAX and web 2.0
stuff out there, it's getting so those cases are fewer and fewer.

--David

Peter Crowther wrote:

>>From: David Smith [mailto:[EMAIL PROTECTED] 
>>Option 3: Use a bit of javascript to refresh a small, invisible gif
>>image on a timed basis.
>>    
>>
>
>Very good point.  I'm too used to advising on accessible design, where
>the browsers may not run Javascript :-).
>
>               - Peter
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006
 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to