Regarding my suggesting for using JavaScript to close the window, it looks modern browsers no longer allow JavaScript to close windows it did not open. Due to security concerns, the old behavior of allowing JavaScript to close the current window instance is no longer allowed. For this to work the window must be script-closable: See https://developer.mozilla.org/en-US/docs/Web/API/Window/close and https://www.w3.org/TR/html5/browsers.html#script-closable
To workaround this limitation you just need to use JavaScript to open a url in the current window instance, then the current window instance can be closed by the script. So your response would need to include something like this: window.open('','_self').close() More info about this workaround is here: https://stackoverflow.com/a/18776480/5971390 Of course, browser security can change and this may stop working. -Tim ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************