For it to be persistent you must use an outside resource - a file on
disk, a database, another process that somehow manages the persistence.

        Randy

-----Original Message-----
From: Cato, Christopher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 3:50 PM
To: '[EMAIL PROTECTED]'
Subject: ?? How to set a context-global variable from a servlet ??


Hello...

On Linux, how can I from a servlet set a variable (like a flag, indicating
that a certain userid is locked for writing) so that it is persistent and
can be read from the other servlets in it's context??
 
And, assuming there is a way to do this, how do I later destroy this
variable?

This is on RedHat 6.2, JDK 1.3, TomCat <recent>, Apache.

/Christopher Cato

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to