I try to login one website using C# HTTPWebRequest class, i can login but not able to read multiple set-cookies in header When the server responds with multiple "Set-Cookie:"-headers, only the first one becomes available to me in header Web Response in HTTPWebRequest Set-Cookie: x-main=Yvi4723B?Nk5zuPPCZ0?66eGEI5kVnOM; path=/; domain=.xxx.com; expires=Wed May 25 13:20:05 2011 GMT How to get all "Set-Cookie:" in header using HTTPWebRequest class?? Web Response in HTTP Live Header Set-Cookie: crstoken=Yvi4723B?Nk5zuPPCZ0?66eGEI5kVnOM; path=/; domain=.xxxx.com; expires=Wed May 25 13:20:05 2011 GMT Set-Cookie: Sessionid=sfdsffsdf bsfdfdsfdsfs; path=/; domain=.xxx.com; expires=Wed May 25 13:20:05 2011 GMT I need to get crstoken and Sessionid from Set-Cookie. I am looking forward your reply, Thanks in advance.......
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)