CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002
    Posts
    4

    read/write <input> values in SSL from other window

    Is there any way of read or write the value of an INPUT tag of type="text" or "password" of another SSL page?

    i.e.
    Imagine the secure site www.a.com with this source:
    <HTML>
    <BODY>
    <FORM name=form1>
    <INPUT type="text" name=text1>
    </FORM>
    </BODY>
    </HTML>

    Then in our page we have the following javascript order
    winHandle= open("https://www.a.com", "window2")

    How can I access/modify the value of the text box in this HTTPS page? If I try to use 'winHandle.document.form1.text1.value= 3' iExplore reports me an 'Access Denied' error.

  2. #2
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346
    i think the whole idea of a secure page is so that you can't just access it via scripting or other methods like it. I think getting the value of it will have to be done another way. I'm thinking a server side scripting language, but it would have to administer the page to have access to it. I'm pretty sure from what you said ie complains about that javascript is not going to provide an answer.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured