• 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: Your session has timed out.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Your session has timed out.


  • Subject: Re: Your session has timed out.
  • From: Nick Pilch <email@hidden>
  • Date: Thu, 5 Jun 2003 11:51:43 -0700

Another alternative is to use an entirely new EOF stack for the long request. As long as you don't reference any globals, this should be safe.

I agree that at least a new EOEditingContext should be used for the long request and it should be locked. However, my experience with doing this in 4.51 was that even this wasn't enough to prevent strange errors that seemed to have to do with EOF stepping on itself. I wasn't using the new EOF stack trick then.

I haven't yet tried to do a long request in 5.x, but I am experimenting with making my app multi-threaded and using a new EOF stack for each new session. The consensus seems to be that this is the safe way to go when doing multi-threaded EOF.
--


Nick Pilch / email@hidden
_______________________________________________
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: Your session has timed out. (From: Chuck Hill <email@hidden>)
 >Re: Your session has timed out. (From: Chuck Hill <email@hidden>)
 >Your session has timed out. (From: Jevon Hills <email@hidden>)
 >Re: Your session has timed out. (From: Chuck Hill <email@hidden>)

  • Prev by Date: [Newbie] WO 5.2/mySQL/EOModeler Alert No Reason Provided
  • Next by Date: Re: Switching from Microsoft (Part 2/2)
  • Previous by thread: Re: Your session has timed out.
  • Next by thread: Re: Your session has timed out.
  • Index(es):
    • Date
    • Thread