[求救]请问怎样求本月登陆次数
就是在Application里写的application_start(这里的东西文件里都都有){
Application.Lock();加锁
Application["UserName"]=0;初始化
Application.UnLock();
}
Session_start(){
Application.Lock();加锁
Application["UserName"]=(int.Parse(Application["UserName"].ToString))+1;
Application.UnLock();
}
response.write(Application["UserName"].ToString);