Re: Your session has timed out.
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.