C #
精肉猛男
这个作者很懒,什么都没留下…
展开
-
写原生ajax(XMLHttpRequest)
var xhr = new XMLHttpRequest(); xhr.open("post", "/Handler1.ashx", true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function () { ...原创 2018-03-11 21:43:43 · 372 阅读 · 0 评论 -
C#session cookies
HttpCookie cookie = context.Request.Cookies["Login"]; if(cookie==null){ cookie = new HttpCookie("Login"); } Guid guid = Guid.NewGuid(); ...原创 2018-03-11 21:43:29 · 335 阅读 · 0 评论