Ƶע©

©汾:

Newasp ContentManageSystem Version 3.0.0.518
©:

վϵͳһASPMSSQLݿɾ̬ҳ湹ĸЧվ

ȿconst.aspGetUserTodayInfo̡

QUOTE:
Lastlogin = Request.Cookies("newasp_net")("LastTime")
UserDayInfo = Request.Cookies("newasp_net")("UserToday")
If DateDiff("d",LastLogin,Now())<>0 Then

UserDayInfo = "0,0,0,0,0,0"
Response.Cookies("newasp_net")("UserToday") = UserDayInfo
end if
UserToday = Split(UserDayInfo, ",")
If Ubound(UserToday) <> 5 Then

UserDayInfo = "0,0,0,0,0,0"
Response.Cookies("newasp_net")("UserToday") = UserDayInfo
end if

Ȼ

QUOTE:
Public Function updateUserToday(ByVal str)
On Error Resume Next
If Trim(str) <> "" Then
Newasp.Execute("update [NC_User] SET UserToday='" & str & "' where username='"& Newasp.membername &"' And userid=" & Newasp.memberid)
Response.Cookies("newasp_net")("UserToday") = str
End If
End Function

ҶܿupdateUserToday(ByVal str)strûоκι˾ͷݿ⡣

Ȼ
articlepost.asp
message.asp
softpost.asp
upfile.asp
upload.asp
⼸ļGetUserTodayInfoupdateUserTodayûֱ֤ӵãsqlע

 <* ο
 http://blog.hacksafe.org/article.asp?id=164
 http://bbs.sebug.net/viewthread.php?tid=12
 *>
Է:

@Sebug.net   dis
վṩ()ܴй,ȫоѧ֮,Ը!1.SobinyBug.Center.Teamṩ²Է2. 3.UserDayInfoĸʽ 0,0,0,0,0,0ÿһַ˽ʹõȨޣϴжš4.ÿʹһȨޣʹȨ޵Ǹһ־ͻԼ15.ڹʱҪע⡣6.ύҳĹС7.ڵǰȨ޵ϱΪ֣ͻᷢ8.updateUserTodayOn Er