前台存储:
document.cookie = 'timeStamp=' + event.timeStamp + '; path=/;';
后台获取:
HttpCookie timeStamp = HttpContext.Current.Request.Cookies["timeStamp"];
string timestamp = timeStamp.Value.ToString();
前台存储:
document.cookie = 'timeStamp=' + event.timeStamp + '; path=/;';
后台获取:
HttpCookie timeStamp = HttpContext.Current.Request.Cookies["timeStamp"];
string timestamp = timeStamp.Value.ToString();