By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

Authentication and POST with C#

P: 3

I have been searching the internet about methods for a C# console program to login and post on a website.

I have been advised to either make the program log in every time when is necessary or to somehow include the session cookies with which I am logged in with my browser.

I am afraid though that some of the methods don't work with every website and specifically with those I need like this one:

This is the login page that I have already got past with my browser but in order the program to authenticate I think it needs the cookies or to login itself

And the string I need to be posted is a known password string of 6 characters in the field "userpwd" on for example this page
or any of the link accessed from this page

Can anyone who has experience in this please give me a hint of what works with such kind of sites and with this one particulary and suggest what functions I should use? And any guidance of the best method to proceed is much appreciated.

Jan 28 '09 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 7,872
Try using HttpWebRequest
Mar 9 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.