http - c# HttpClient does not store some cookies -


i'm using httpclient (system.net.http.httpcient) send requests , i'm using cookiecontainer hande cookies. webpages works fine, on other pages no cookies stored, although browser saves cookies when visit webpage. can here explain what's problem.

ceddy

maybe these pages redirect other url? cookies stored per url , hence it's possible "loose" cookie.

to verify behavior may set

 request.allowautoredirect = false; 

and @ response object what's going on. if issue in case, can copy cookies 1 url other via cookiecontainer.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -