日期:2014-05-17 浏览次数:21926 次
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Cookies["user"]!=null)
{
string Admin1 = Request.Cookies["user"]["Admin"];
string Flag = Request.Cookies["user"]["Flag"];
string BuMenMingCheng = Request.Cookies["user"]["BuMenMingCheng"];
string BM_Flag = Request.Cookies["user"]["BM_Flag"];
}
Response.Write("姓名cookies:" + Admin1 + "<br/>");
Response.Write("部门名称cookies:" + BuMenMingCheng + "<br/>");
Response.Write("权限数字cookies:" + Flag + "<br/>");
}
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Cookies["user"]!=null)
{
string Admin1 = Request.Cookies["user"]["Admin"];
string Flag = Request.Cookies["user"]["Flag"];