关于session一些知识
摘要:
1)对于值类型的变量,Session中保存的是值类型的拷贝 Session["__test0"] = 1;int i = (int)Session["__test0"]+1;int j = (int)Session["__test0"]; 结果i=2,j=12)对于引用类新的变量,Session中保存的是引用 CDACommon cda = new CDACommon();Session[... 阅读全文
posted @ 2007-07-30 15:24 Wenguan 阅读(287) 评论(0) 推荐(0)
浙公网安备 33010602011771号