Parker Software Ltd Homepage
Forum Home Forum Home > Email2DB Email Parser > Scripting
  New Posts New Posts RSS Feed: Web Lookup Feature
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Web Lookup Feature

 Post Reply Post Reply
Author
Message
dominicgray View Drop Down
New User
New User


Joined: 15 Jul 2012
Posts: 2
Post Options Post Options   Quote dominicgray Quote  Post ReplyReply Direct Link To This Post Topic: Web Lookup Feature
    Posted: 15 Jul 2012 at 7:52pm
I am trying to use the web lookup feature to access an .aspx page that has a custom logon page.

I am stuck on how to move forward, as the only data returned is that of the login page, and not the redirected, post-login site.

Your assistance is most appreciated. Also is there documentation / samples with using this feature?

---------------------------------

The html looks like: 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta name="generator" content=

  <title></title>
  <link href="Css/login.css" rel="stylesheet" type="text/css" />
  <style type="text/css">

  </style>
</head>

<body>
  <form name="ctl01" method="post" action="Login.aspx" id="ctl01">
    <div>
      <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="sffdd" />
    </div>

    <div>
      <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
      <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
    </div>

    <div id="loginFrm">
      <div id="formContents" onkeypress=
      "javascript:return WebForm_FireDefaultButton(event, 'btnLogin')">
        <span id="Label1">User Name:</span> <input type="text" id="txtUsername" class=
        "loginInput c1" name="txtUsername" /><br />
        <br />
        <span id="Label2">Password:</span> <input name="txtPassword" type="password" id=
        "txtPassword" class="loginInput c1" /><br />
        <br />
        <input type="submit" name="btnLogin" value="Login" id="btnLogin" />
      </div>
    </div><script type="text/javascript">

    //<![CDATA[

    var theForm = document.forms['ctl01'];

    if (!theForm) {

    theForm = document.ctl01;

    }

    function __doPostBack(eventTarget, eventArgument) {

    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {

        theForm.__EVENTTARGET.value = eventTarget;

        theForm.__EVENTARGUMENT.value = eventArgument;

        theForm.submit();

    }

    }

    //]]>

    </script> <script src="sadf/sdaf" type="text/javascript">
</script>
  </form><script type="text/javascript">
//<![CDATA[
        document.getElementById('txtUsername').focus();

  //]]>
  </script>
</body>
</html>

Back to Top
Stephen View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 Oct 2005
Location: Stoke on Trent
Posts: 1389
Post Options Post Options   Quote Stephen Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jul 2012 at 8:20pm
Hi,

You would need to lookup login.aspx page - not the form that collects the user name.

Steve 
Back to Top
dominicgray View Drop Down
New User
New User


Joined: 15 Jul 2012
Posts: 2
Post Options Post Options   Quote dominicgray Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jul 2012 at 10:29pm
my post url looks something like this
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.
These are the forums for Parker Software, developers of Live Chat Software: WhosOn and Email Automation Software: Email2DB.