Web Connection
Default mode for WC Handler monitoring page
Gravatar is a globally recognized avatar based on your email address. Default mode for WC Handler monitoring page
  Richard Kaye
  All
  Sep 2, 2021 @ 03:50pm

I quite often keep the handler status page for my app, which runs in COM mode, up in Chrome on Windows pretty much all the time. I've noticed that if I refresh using the browser (i.e., press F5 etc), when the page comes back up it has switched to File mode and no instances are loaded. Of course, if I'm not paying attention and don't flip it back to COM mode right away, the app stops responding. Is there some config setting that will prevent this from happening?

TIA

Gravatar is a globally recognized avatar based on your email address. re: Default mode for WC Handler monitoring page
  Rick Strahl
  Richard Kaye
  Sep 2, 2021 @ 06:04pm

If you press F5/Ctrl or refresh the last action will be repeated. If you look closely you're probably not on the ModuleAdministration.wc or Administration.wc pages, but one of the operational pages, which come back to the status screen but are actual other URLs in the address bar like ToggleMessagingMode.wc.

If the last action was to switch between COM and File mode then you'll repeat that action and since it's a toggle it'll switch you back. If you leave the page up either make sure you just navigate to it directly (ie. the initial GET operation) or click on re-read settings which essentially refreshes the page without changing anything.

In short, just make sure you're on the right page.

In theory there should be no reason to 'refresh' that page, because the status for running instance display updates automatically via timer XHR requests.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Default mode for WC Handler monitoring page
  Richard Kaye
  Rick Strahl
  Sep 8, 2021 @ 10:25am

Thanks, Rick. I think the use case might be that my admin session has timed out for some reason so I have to re-authenticate. I will pay closer attention to see if I can discern a pattern.

© 1996-2021