• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: counting sessions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: counting sessions


  • Subject: Re: counting sessions
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 2 Feb 2010 11:48:02 -0500

there is a method for retreiving the active session count and is WOApplication.activeSessionCount()

now, is there also a method for retreiving the session list ( all session ids and eventually their creation timestamp ) ?
      WOServerSessionStore sessionStore = (WOServerSessionStore) WOApplication.application().sessionStore();
      _sessions = sessionStore._sessions().allValues();

be very careful with this, though ... you're presuming your session store impl, calling undocumented methods, and mucking with sessions that are in various states of use.

ms
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: counting sessions
      • From: Amedeo Mantica <email@hidden>
    • Re: counting sessions
      • From: Amedeo Mantica <email@hidden>
References: 
 >counting sessions (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: counting sessions
  • Next by Date: Re: ServerName outside RR loop?
  • Previous by thread: counting sessions
  • Next by thread: Re: counting sessions
  • Index(es):
    • Date
    • Thread