• 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: Get all the sessionsID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get all the sessionsID


  • Subject: Re: Get all the sessionsID
  • From: Francis Labrie <email@hidden>
  • Date: Wed, 28 Feb 2007 12:35:22 -0500

Hi,


WIESEN Bruno wrote:
I just wonder if it is possible to get all sessionsID of an application in order to display
the remaining time before the sessions times out??

If not in servlet deployment mode:

NSArray sessionIDs = ((WOServerSessionStore)WOApplication.application ().sessionStore())._sessions.allKeys();

You can also get sessions:

NSArray sessions = ((WOServerSessionStore)WOApplication.application ().sessionStore())._sessions.allValues();


--
Francis Labrie, System Architect, OS communications informatiques - Your communication engine
email@hidden | Phone: (450) 676-1238 ext. 27 | Fax: (450) 676-5276


_______________________________________________
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: Get all the sessionsID
      • From: Chuck Hill <email@hidden>
    • Re: Get all the sessionsID
      • From: Francis Labrie <email@hidden>
References: 
 >Get all the sessionsID (From: WIESEN Bruno <email@hidden>)

  • Prev by Date: Re: Refresh
  • Next by Date: Re: Get all the sessionsID
  • Previous by thread: Get all the sessionsID
  • Next by thread: Re: Get all the sessionsID
  • Index(es):
    • Date
    • Thread