Programmatically log into a web site in asp.net
<p>I am looking for a way to allow a user on my web site to log into another external web application <em>(for example: gmail, jira,etc..)</em> and redirect them successfully to the landing page. </p>

<p>I found this <a href="http://stackoverflow.com/questions/975426">article</a> which provides some code for posting the log on info, but doesn’t discuss what other actions I need to take <em>(For example I believe I have to create or save a cookie on the machine)</em> that will allow me to successfully redirect the user to that site. 
 Does anyone have any code or resources that can point me in the right direction? </p>

<p>Thanks for your help! </p>
