//客户端会话存值
Client.Session["userid"] = Class1.userid;
//客户端会话取值
userid = Client.Session["userid"].ToString();
//获取手机DeviceId
Client.Session["手机ID"] = this.Form.Client.DeviceID;