Please help me create a list of all active sessions?

C

Christina N

Can anyone give me a code example of how to use a global array to keep track
of
all active sessions (their sessionid, logontime, etc)?

I need a code example, not a prosa description of what to do..
Anyone..?


Best regards,
Christina
 
H

Hermit Dave

Christina,

what you need to do is create a Singleton which has a internal collection or
an arraylist.
on session start. look up the user info you require and populate the
arraylist.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top