Yesterday when a customer told me that I didn't see the picture when I logged in, I didn't believe it, because my browser test found everything to be OK.
Through the QQ Remote Assistance, I only found the server side really error:
Microsoft VBScript Run-time error (0X800A000D)
Type mismatch: ' [string: ' '] '
Check the code and find the error line:
If Request.Cookies ("name") = 1 Then
Strange, why does my browser run without error, after analysis, originally his browser disabled cookies.
Causes the value of Request.Cookies ("name") to be empty.
When the value of a cookie is empty, you cannot use an expression such as =1, but instead use = "1" and Correct the code:
If Request.Cookies ("name") = "1" Then
Conclusion: All cookies read in the program should be compared by string type, so it is safe.
2010-02-02
ASP: When request.cookies occurs, the Microsoft VBScript runtime error (0x800a000d) type does not match: ' [string: