Results 1 to 3 of 3

Thread: Web Browser & Auto-Login

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    44

    Question Web Browser & Auto-Login

    I am writing a piece of software which acts as a portal for a series of websites which require login by means of an online login form. What I want to know is if there is a way to manually send form field headers through the MS Web Browser OCX, or if there is a better way.

    Settings
    • Field Names Received From Database
    • Username & Password Received From Database
    • Address Bar Is Hidden


    Thanks Guy's
    Knightcon

    Mess With The Best,
    Die Like The Rest.

  2. #2
    Lively Member Nerd-Man's Avatar
    Join Date
    Dec 2006
    Location
    India
    Posts
    119

    Re: Web Browser & Auto-Login

    knightcon i think first you need to sniff the network packets of the site where you have the form.. once you have the packets, you can put that on webbrowser control like below:

    VB Code:
    1. Private Sub Command1_Click()
    2. WebBrowser1.Navigate ("http://www.yoursite.com/" & "loginstringhere")
    3. End Sub

    you can put that login string on a text box so that you can send whatever you want. to send username and password, take two text box and put them in the login string that you grab from packet sniffer.

    anyway, hi all admins, mods and DigiRev.. sorry that i couldn't get online because i was in hospital for appendix removal.. hope you guys are doing well...

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    44

    Re: Web Browser & Auto-Login

    Thanks Nerd-Man, I new how that could be done, what I was after was how I can set the web browser ocx to automatically send a POST form field as a header, if at all possible, or how to send manual header fields through the OCX.
    Knightcon

    Mess With The Best,
    Die Like The Rest.

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