This error occurred in the background when debugging a Web site today, "Microsoft VBScript run-time error ' 800a01b6 ' object does not support this property or method: ' Session.CodePage '" in Baidu Search to see the answer is not very full, most of them are ambiguous. Later I studied for a while, there is a relatively fast way!
If you receive the following message:
Microsoft VBScript run-time error ' 800a01b6 '
Object does not support this property or method: ' Session.CodePage '
\include\syscode.asp, line 8
This proves that there is a problem with the <%Session.CodePage=936%> of your **.asp.
Someone on the internet said to delete this sentence, but I deleted the page after the font becomes garbled! Because this is shown as the Chinese encoding (936 is the corresponding encoding GB2312). Then I changed the sentence <%Session.CodePage=936%> to:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" >