Automation

  • Thread starter Thread starter Diogenes Dilone
  • Start date Start date
D

Diogenes Dilone

Hi Folks,

I would like to scheduled a task that would automatically logon to my
company's asp.net web app. Does anyone have any suggestions?

Thanks
D
 
H
Can give more info, what actually u want do and from where
1)Do u want the task be on server or client
2)What do want the task to do
a) Query database.
b) execute business logic
etc

K
 
The task could be on either a client or a server. It will prob be on a
client. I want the task to pen a webpage www.webpage.com and then hit the OK
button on the authenication box. The web application requires user to log
on with their active directory credentials. So all I want the task to do it
pull up the web app via a url on ie then hit the ok button in the popup
window.
 
Assuming your application uses a form post to log on, you could make a
web request programatically from a .NET application to the login page
with the form data in the headers. Look into using the HttpWebRequest
class. You can even get the response and parse it to make sure you're
authenticated. If you're using Basic Authentication, you can use the
NetworkCrudential object to pass authentication information. Best of
luck!
 
Back
Top