Please help me create a list of all active sessions?

  • Thread starter Thread starter Christina N
  • Start date Start date
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
 
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)
 
Yes, but HOW do I do that? I need a code example.
Can you help me?


Christina
 

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

Back
Top