• 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: Application terminates when a session times out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application terminates when a session times out


  • Subject: Re: Application terminates when a session times out
  • From: Art Isbell <email@hidden>
  • Date: Thu, 13 Feb 2003 08:45:52 -1000

On Thursday, February 13, 2003, at 06:37  AM, Seejo Pylappan wrote:

Check the code segment in : Session.isAnIAEmployee. That seems to be where the problem is comming from. where are you getting the IA_User from? Are you fetching it in a session and then setting it as a universal user? in other words what is happening is the EOEditingContext in which the IA_User is fetched has been finalized when your session times out (check finalize code?) and then when you reenter, you are messaging to the IA_User whose editingContext is no longer around and is causing the crash.

If this is indeed the situation, you might consider fetching this IA_User into an EOSharedEditingContext in Application. This shared editing context isn't finalized with session termination. However, shared objects are subject to some constraints that might eliminate this suggestion from consideration. See the EOSharedEditingContext JavaDoc for details.


Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Application terminates when a session times out (From: Seejo Pylappan <email@hidden>)

  • Prev by Date: Re: Can you compare webobjects to other similar tools.
  • Next by Date: Re: WO 5.2 and MySQL
  • Previous by thread: Re: Application terminates when a session times out
  • Next by thread: Re: Application terminates when a session times out
  • Index(es):
    • Date
    • Thread