• 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
[JC] EODistributionChannel.Delegate and session expiration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[JC] EODistributionChannel.Delegate and session expiration


  • Subject: [JC] EODistributionChannel.Delegate and session expiration
  • From: Stamenkovic Florijan <email@hidden>
  • Date: Mon, 06 Apr 2009 15:57:29 -0400

Hi all,


I am currently using an EODistributionChannel.Delegate to handle request tracking. And am observing some weird behavior, so I am wondering if anyone else has experience with this...


1. If I set a custom delegate on the distribution channel, the JC runtime no longer catches the session expiration exception, so instead of getting a "Your session expired, etc." dialog, the exception propagates all the way and crashes my app. At first that made me think that there was a default delegate of sorts that I replaced, and therefore lost this functionality, but there is no default delegate... Any thoughts on this?

2. Not really about the delegate, but related... When a session expires, and I do get a dialog on the client side telling me it expired, it seems that the thread the request was made on (namely the Swing EDT) continues the execution even though a modal dialog is up. This is very bizarre. And it also causes additional exceptions to be thrown, resulting in my custom exception handler kicking in, and the GUI becoming a mess... Any thoughts on this?

3. I am wondering if I should ditch WO's default behavior, and simply implement a Delegate that will also deal with session expiration exceptions. However, the error state handling mechanism is not all what it could be, meaning: the only way I see of detecting if an exception occurred because of session expiration is to parse the exception's info text, which I am always reluctant to do, if there is another way. Any thoughts on this?

Fervently hoping to get some reply on this,
F
_______________________________________________
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


  • Prev by Date: Re: [OT] It's gone!!!
  • Next by Date: csv report download -> Safari adding .html to filename?
  • Previous by thread: Re: Trouble with Internet Explorer
  • Next by thread: csv report download -> Safari adding .html to filename?
  • Index(es):
    • Date
    • Thread