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
Post a Comment