Hi all, I need some help please using WebRequest with a page that requires
you to log in through a different page.
I have a roster that is located at our internal address of
http://wfmmel01/WebETC/schedule.view.asp?. If you type this address in
directly, you are taken to a login page where you enter your username and
password. This address is
http://wfmmel01/WebETC/employee.logi...tErrNumber=501. The HTML for the
form looks like this:
<form name="LOG01" action="/WebETC/employee.login.asp?" method="POST"
onSubmit="return validateLOG01(this)">
<input type="hidden" name="Validate" ="1">
<input type="text" name="username" class="formfield" maxlength="9" value="">
<input type="password" name="password" class="formfield"
onFocus="this.select()" size="21" maxlength="21">
Once you click the login button, it takes you to the roster.
Using WebRequest, how can I go straight to the roster and supply the
username and password? I don't know much about cookies or encoding. I just
want a simple little solution that works.
Can anybody help me please?
Thanks
Tony