We run Lawson software and are upgrading to a new version. The asp and html/js that worked in the former version no longer work. Here is the issue: Ops puts a file "gllogin_status.txt" in the Lawson index directory if the database is down. The js checks the document.referrer and then , if successful, the browser needs to appear without toolbars (messes up Lawson users). In my research so far it seems the js can either: FYI: new_url = asp page which checks for gllogin_status.txt 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 but we do have IE as the browser standard. Is there a way to do this? If no way to close the parent window in IE, is there a way to redirect the old window to the user's home page to avoid some confusion? Any help would be greatly appreciated!
modified on Wednesday, October 7, 2009 11:53 AM