欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

asp.net中使用cookie傳遞參數(shù)的方法

 更新時(shí)間:2015年04月22日 10:52:50   作者:dingding  
這篇文章主要介紹了asp.net中使用cookie傳遞參數(shù)的方法,涉及asp.net針對(duì)cookie傳值與接收的技巧,需要的朋友可以參考下

本文實(shí)例講述了asp.net中使用cookie傳遞參數(shù)的方法。分享給大家供大家參考。具體如下:

//傳值
HttpCookie cookie = new HttpCookie("mycookie");
cookie.Value = "cookie值";
Response.AppendCookie(cookie);
Response.Redirect("index.aspx");
 
//接收
Request.Cookies["mycookie"].Value.ToString();

希望本文所述對(duì)大家的C#程序設(shè)計(jì)有所幫助。

相關(guān)文章

最新評(píng)論