Home > Net >  C # HttpWebRequest how to take back the specific path of the cookie value
C # HttpWebRequest how to take back the specific path of the cookie value

Time:12-29

When using HttpWebRequest simulation CAS login, will jump back and forth between several different domain name system validation
(1) access to A domain authentication cookie whether there is any available, under A domain name to A Location
(2) jump B domain to ticket
(3) with A ticket to jump back to A domain name (can take to A and C domain of cookies)
(4) to test whether A domain cookie is available, jump to C domain with normal access cookies,
Is the third step, the problem of HttpWebRequest simulation request returns the cookie value only by access to A domain name, cannot take to C domain of cookies
Did not find the Header was displayed fully, C domain of Cookies (Postman debug access when the Header also does not show, but will be directly in the list of Cookies, want to know is how to take it to the C domain cookie)
  •  Tags:  
  • C#
  • Related