• 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: Ajax request, ERXRedirect and ERXThreadStorage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax request, ERXRedirect and ERXThreadStorage


  • Subject: Re: Ajax request, ERXRedirect and ERXThreadStorage
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 13 Jul 2016 09:36:45 +0930

On 13 Jul 2016, at 1:41 AM, Chuck Hill <email@hidden> 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 Ajax action through to sending out the re-direct.

Do you have a session you can stash it in?

Yeah, that’s my workaround. It’s awkward, though, because the single R-R lifespan of ERXThreadStorage is just perfect for this use case. In fact, I end up moving the informational messages into ERXThreadStorage at some point just to ensure they disappear at the right time (because they shouldn’t persist into the next R-R, they’re just for one-off display). I couldn’t seem to simulate it just using the session.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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

References: 
 >Ajax request, ERXRedirect and ERXThreadStorage (From: Paul Hoadley <email@hidden>)
 >Re: Ajax request, ERXRedirect and ERXThreadStorage (From: Lon Varscsak <email@hidden>)
 >Re: Ajax request, ERXRedirect and ERXThreadStorage (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: webobjects with maven
  • Next by Date: Re: Ajax request, ERXRedirect and ERXThreadStorage
  • Previous by thread: Re: Ajax request, ERXRedirect and ERXThreadStorage
  • Next by thread: Re: Ajax request, ERXRedirect and ERXThreadStorage
  • Index(es):
    • Date
    • Thread