So... If I create some class, SessionHolder.java, compile it (SessionHolder.class) and put it in shared/lib, I could then set variables and then retrieve them from this class?
Charlie
Caldarale, Charles R said the following on 2/2/2005 5:00 PM:
From: Mark Winslow [mailto:[EMAIL PROTECTED] Subject: Re: sharing session across <Host>s
I imagine creating a static variable would be global
to the JVM.
Not quite. It's global to the classloader, not the JVM. Since each web app has its own classloader, you would have to put such a class in a location serviced by a more global loader, such as shared/lib. Now, of course, you've introduced dependency issues...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
