aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes access  data from  multiple  sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "access  data from  multiple  sessions" Watch "access  data from  multiple  sessions" New topic
Author

access data from multiple sessions

devika cha
Greenhorn

Joined: Dec 17, 2003
Posts: 23
Hi,

I am trying to get data displayed from multiple sessions (different users),

can anybody tell me how to do it.
It is for admin purpose only.

thank u
alzamabar
Ranch Hand

Joined: Jul 24, 2002
Posts: 379
Originally posted by devika cha:
Hi,

I am trying to get data displayed from multiple sessions (different users),

can anybody tell me how to do it.
It is for admin purpose only.

thank u


In case of dynamic data you want to go to the database or, if you don't want or can't, you can store the data as attributes in the ServletContext object. In case of static data, you can set web-app configuration parameter (<context-param> element in the DD). Hint: ServletContext and Session attributes are NOT thread-safe, so better to synchronize on the objects before you use them.


Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: access data from multiple sessions
 
Similar Threads
multiple sessions from the same client machine
MXBean question in regards to tomcat
collect data from multiple sessions
SCJA Exam Prep Questions
'no. of users online'