2 aqwxiu aqwxiu 于 2013.06.06 16:01 提问

asp.net两个项目后台在cs文件里怎么用cookies传值 取值是固定的

取值的项目 被编译过了 代码改不了 下面是取值代码 存值

long p_UserId = Convert.ToInt64(Cookies.Read("Clerk", "CurOrganID"));
int p_Degree = Convert.ToInt32(Cookies.Read("Clerk", "Degree"));
base.ClientScript.GetPostBackEventReference(this.reload, "ok");
string m_SysName = ConfigurationManager.AppSettings["SystemName"].ToString();
SysAccessAssignInfoList m_SysList = SysAccessAssignInfoFactory.LoadListByStudentId(Convert.ToInt64(Cookies.Read("Clerk", "ClerkID")));
UserOptions userOptions = UserOptions.GetUserOptions(UserInfoFactory.LoadByAll().Id);

Csdn user default icon
上传中...
上传图片
插入图片