In JRUN 4.0, Iam trying to maintain a session object across applications running on a "default" server. But it does'nt allow me to access session name/value stored in one application from another.
Please help me out. Thanks,
subbu
-
JRUN 4.0 session management (1 messages)
- Posted by: Subbaraman Venkateswaran
- Posted on: June 24 2004 10:19 EDT
Threaded Messages (1)
- JRUN 4.0 session management by VIJAY KHANNA on June 28 2004 07:30 EDT
-
JRUN 4.0 session management[ Go to top ]
- Posted by: VIJAY KHANNA
- Posted on: June 28 2004 07:30 EDT
- in response to Subbaraman Venkateswaran
In JRUN 4.0, Iam trying to maintain a session object across applications running on a "default" server. But it does'nt allow me to access session name/value stored in one application from another.Please help me out. Thanks,subbu
Hi Subbu,
Session objects are per user basis and unique within a given application.Session objects in one application cannot be accessed by classes or code from other applications.Moreever session objects assigned to user B within a application cannot be accessed by user A.
e.g - session variables are good cnadidate to store user specific information.
Application object is per application basis and unique to that application.Data stored in a application variable cannot be accessed by other applications running in the same container.
e.g - application variable is a good candidate to store information which may be commonly required by your web application.Say the file system path where you need to log errors or the source where your CSS resides.