1
C# 프로그램이 있는데 일부 웹 사이트를 요청하고 내 시스템의 쿠키 파일을 사용하여 웹 사이트의 로그인 페이지를 요청하고 싶습니다.C에서 브라우저 쿠키를 사용하는 방법 #
C# 프로그램이 있는데 일부 웹 사이트를 요청하고 내 시스템의 쿠키 파일을 사용하여 웹 사이트의 로그인 페이지를 요청하고 싶습니다.C에서 브라우저 쿠키를 사용하는 방법 #
A cookie is a small bit of text that accompanies requests and pages as they go between the Web server and browser. The cookie contains information the Web application can read whenever the user visits the site.
예를 따르 ...
에는 Response.Cookies = "존"[ '사용자 이름 "] 값.; Response.Cookies [ "userName"]. Expires = DateTime.Now.AddDays (1);
HttpCookie aCookie = 새로운 HttpCookie ("lastVisit"); aCookie.Value = DateTime.Now.ToString(); aCookie.Expires = DateTime.Now.AddDays (1); Response.Cookies.Add (aCookie);