Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 17 JUL 2008 10:12:57AM Sandra D'Angelo wrote:

I am trying to login into a website which launches a popup window using shell.explorer.2 OLE. Whenever, I click the search button on the web page (which executes a javascript call parent.right_frame.open_popup("search","xxx.asp") ), the popup window opens then closes with the message "Thank you for using XXX. You have successfully logged out of your session.". This does not happen when I am using IE directly. I checked the java script for the popup window function and the popup window function is calling a validate login function. The validate login function declares a variable user_fk then tests it. The test is obviously failing but why:

var user_fk=777"
if ((user_fk == "") || (user_fk == -1)){
     if(window.opener){
         window.opener.parent.location=logon.asp?msg=Thank you for using XXX. You have successfully logged out of your session.";
  	         window.close()
     }
	    else{
        parent.window.location=logon.asp?msg=Thank you for using XXX. You have successfully logged out of your session.";
    }
}

This is not my site so I don't have an option to debug and I am no java expert. I am running 8.01. Any help would be greatly appreciated. Thank you.


At 17 JUL 2008 10:49AM Bruce Cameron wrote:

Sandra, you could try the Firebug add-on tool for Firefox and

track/debug each step and variable. There are a couple 'how to' instructional videos on how to use it.


At 17 JUL 2008 10:59AM Sandra D'Angelo wrote:

Unfortunately, there is also a test for the navigator.appName == "Microsoft Internet Explorer". I pulled all the code from the temporary internet folder so I am looking to recreate the webpages without some of the checks and debug it from there. I was just hoping someone knew why the variable test was working in the OLE before I had to go to this step. Thanks again for the heads up on the Firefox debugger.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/8a3be4bbe0a488f785257489004e1757.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1