Asp.Net Mvc清空指定Cookie
刪除指定Cookie
HttpCookie hc = Request.Cookies["user"]; hc.Expires = DateTime.Now.AddDays(-1); Response.AppendCookie(hc);
Asp.Net Mvc清空指定Cookie
刪除指定Cookie
HttpCookie hc = Request.Cookies["user"]; hc.Expires = DateTime.Now.AddDays(-1); Response.AppendCookie(hc);
版權(quán)所屬: hnxxbl.cn
本文鏈接: http://hnxxbl.cn/articleinfo/23/
特別聲明:如需轉(zhuǎn)載,請(qǐng)以鏈接形式注明本文出處!
QQ技術(shù)群:308250404
投稿郵箱:post@jsons.cn
針對(duì)有價(jià)值的原創(chuàng)技術(shù)投稿予以一定稿酬
期待有獨(dú)特技術(shù)、獨(dú)特想法的你來加入!