avatar
Untitled

Guest 1K 11th Jan, 2023

public static string CurrentKhachhangUsername
		{
			get
			{
				HttpRequest request = HttpContext.Current.Request;
				if (request.Cookies[".khachhangshj"] == null)
				{
					return string.Empty;
				}
				return request.Cookies[".khachhangshj"].Value;
			}
			set
			{
				HttpCookie cookie = new HttpCookie(".khachhangshj");
				cookie.Expires = DateTime.Now.AddYears(1);
				cookie.Value = value;
				HttpContext.Current.Response.Cookies.Add(cookie);
			}
		}
Description

No description

To share this paste please copy this url and send to your friends
RAW Paste Data