private static SetItemInCookie ( string item, string key ) : void | ||
item | string | |
key | string | |
리턴 | void |
private static void SetItemInCookie(string item, string key)
{
HttpCookie cookie = new HttpCookie(key, item);
HttpContext.Current.Response.Cookies.Add(cookie);
}