Logging to remote asp.net Web Page
<p>I wan't to connect to remote web page (that has login form) with HttpWebRequest. 
I am using this tutorial: <a href="http://www.byteblocks.com/page/How-to-submit-requests-to-web-sites-programatically-using-HttpWebRequest.aspx" rel="nofollow">http://www.byteblocks.com/page/How-to-submit-requests-to-web-sites-programatically-using-HttpWebRequest.aspx</a></p>

<p>,but I don't know where RequestAttributes class belongs to?!?</p>

<p>Is there any better way to do this? The remote page is in ASP.NET, it's using Form authentication and when someone makes a request to default.aspx it redirects it to login page.
I want to parse default.aspx page, but before I am able to do that, I need to pass credentials to login form via POST method in HttpWebRequest. Here is another example using POST method to pass parameters: <a href="http://www.worldofasp.net/tut/WebRequest/Working_with_HttpWebRequest_and_HttpWebResponse_in_ASPNET_114.aspx" rel="nofollow">http://www.worldofasp.net/tut/WebRequest/Working_with_HttpWebRequest_and_HttpWebResponse_in_ASPNET_114.aspx</a></p>

<p>but I don't understand why this does not work in ASP.NET remote page.</p>
