We run Lawson software and are upgrading to a new version (9). We are trying to resolve a browser problem with IE7+. Here is the issue: Ops puts a file "gllogin_status.txt" in the Lawson index directory if the database is down.
The js in index.html checks the document.referrer and then, if successful, it needs to redirect to the asp page (new_url) to check for the existence of "gllogin_status.txt". The browser shows the index.html in one browser, and then later the js code does a window.open in order to open a browser window without the toolbars (the only way I have found to remove the toolbars). A pop-up that asks you to close the first browser (parent window) which is an IE security feature. In my research so far it seems the js can either:
1) window.location.href = new_url; the problem with this is that I have not found a way to turn off the toolbars after this code runs
2) window.open(new_url, "name", "status=1,location=0,menubar=1,titlebar=0,scrollbars=1,resizable=1"); this way I get the toolbars turned off, but I have two browser windows open and they both look like Lawson windows. I would like to close the parent window from the child window-is there code to do this? I have a legitimate need to close that first window.
Any help would be greatly appreciated!