参考
If e.path = "b.htm" then
msgbox(123)
Dim UserName As String = e.Cookies("username") '从cookie中获取用户名Dim Password As String = e.Cookies("password") '从cookie中获取用户密码
If username = nothing then
msgbox(456)
wb.InsertHTML("<meta http-equiv='Refresh' content='0; url=/a.htm'>") '那么直接跳转到登录页面 e.WriteString(wb.Build) '生成网页 Return '必须的
End If