iamtheiam
asked on
Is there a way to automatically login to this site using webclient or HttpWebRequest (VB.NET)
I am trying to automatically login into https://www.allianzlife.com/default.aspx Is there a way to automatically login to this site using webclient or HttpWebRequest (VB.NET)?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys
ASKER
POST /Security/LogIn.aspx HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-fl
Referer: https://www.allianzlife.com/Security/LogIn.aspx
Accept-Language: en-us
Content-Type: application/x-www-form-url
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Host: www.allianzlife.com
Content-Length: 529
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: __utma=95122124.1050789322
__EVENTTARGET=&__EVENTARGU