生成页面的时候,加上这句代码即可,意思是20秒后跳转到logon.htm页面
wb.AppendHTML("<meta http-equiv='Refresh' content='20; url=/logon.htm'>", true) '然后直接跳转到登录页面