• 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: How does WO enforce serial request processing per session?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does WO enforce serial request processing per session?


  • Subject: Re: How does WO enforce serial request processing per session?
  • From: Peter Vandoros <email@hidden>
  • Date: Wed, 29 Aug 2007 13:23:01 +1000

Hi Saun,

I thought of this straight after i sent me last email :).

I am implementing this now.

Thanks

Peter

shaun wrote:
Peter Vandoros wrote:
We have a situation where we Single Sign On with a 3rd party system. When the user SSO's into our system, we need to keep their session alive in that 3rd party system for when the user re-enters that system. We do this by having a set of TimerTask's firing every X minutes. The idea is that if we detect that the user's session in the 3rd party system is no longer valid, we have to kick the user off our session. Essentially, logging the user out of our system.

In this case, we need access to our WOSession in order to log the user out.

How about something along the lines of:

Every n minutes check the 3rd party system for session validity
  if 3rd party session is invalid then
     put sessionId in application.sessionsToTerminate.
  end if

When WOApp session.awake is invoked
 if sessionId is in application.sessionsToTerminate
    session.terminate
    application.sessionsToTerminate.remove(sessionId)
 end if


cheers,
 - shaun



--
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
----------------------------------
IMPORTANT: This e-mail message and any attachments are confidential and may be privileged. If received in error, please reply to this message and destroy all copies and any attachments. You should check this message and any attachments for viruses or defects. Our liability is limited to resupplying any affected message or attachments. For more information about Etech Group, please visit us at http://www.etechgroup.com.au.
 _______________________________________________
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

References: 
 >How does WO enforce serial request processing per session? (From: Peter Vandoros <email@hidden>)
 >Re: How does WO enforce serial request processing per session? (From: Chuck Hill <email@hidden>)
 >Re: How does WO enforce serial request processing per session? (From: Peter Vandoros <email@hidden>)
 >Re: How does WO enforce serial request processing per session? (From: Chuck Hill <email@hidden>)
 >Re: How does WO enforce serial request processing per session? (From: Peter Vandoros <email@hidden>)
 >Re: How does WO enforce serial request processing per session? (From: shaun <email@hidden>)

  • Prev by Date: Re: How does WO enforce serial request processing per session?
  • Next by Date: Re: How does WO enforce serial request processing per session?
  • Previous by thread: Re: How does WO enforce serial request processing per session?
  • Next by thread: Re: Monitor Forgetfulness on intel?
  • Index(es):
    • Date
    • Thread