Re: Ajax request, ERXRedirect and ERXThreadStorage

2016-07-14 Thread Jean-François Veillette
On Jul 12, 2016, at 8:52 AM, Paul Hoadley wrote:Hello,I’m working on an app where some page-level informational messages (such as validation problems) are stored in ERXThreadStorage, and displayed by the page wrapper. This works great for full page loads.In a few places, I’m

Re: Ajax request, ERXRedirect and ERXThreadStorage

2016-07-12 Thread Paul Hoadley
On 13 Jul 2016, at 1:28 AM, Lon Varscsak wrote: > I believe the the thread storage is reset for each request, and the Ajax > request and the redirect are two different requests. That would explain it. Thanks Lon. -- Paul Hoadley http://logicsquad.net/

Re: Ajax request, ERXRedirect and ERXThreadStorage

2016-07-12 Thread Paul Hoadley
On 13 Jul 2016, at 1:41 AM, Chuck Hill wrote: > As long as you have more than one worker thread, there is no guarantee which > will process which request. I logged out the thread names, and that didn’t seem to be the problem. The same worker thread was involved from the

Re: Ajax request, ERXRedirect and ERXThreadStorage

2016-07-12 Thread Chuck Hill
uesday, July 12, 2016 at 8:58 AM To: Paul Hoadley <pa...@logicsquad.net> Cc: WebObjects-Dev <webobjects-dev@lists.apple.com> Subject: Re: Ajax request, ERXRedirect and ERXThreadStorage I believe the the thread storage is reset for each request, and the Ajax request and the redirect ar

Re: Ajax request, ERXRedirect and ERXThreadStorage

2016-07-12 Thread Lon Varscsak
I believe the the thread storage is reset for each request, and the Ajax request and the redirect are two different requests. On Mon, Jul 11, 2016 at 11:52 PM, Paul Hoadley wrote: > Hello, > > I’m working on an app where some page-level informational messages (such > as

Ajax request, ERXRedirect and ERXThreadStorage

2016-07-12 Thread Paul Hoadley
Hello, I’m working on an app where some page-level informational messages (such as validation problems) are stored in ERXThreadStorage, and displayed by the page wrapper. This works great for full page loads. In a few places, I’m doing some Ajax submissions with AjaxSubmitButton. In the usual