下面几个问题,都差不多
1。比如https://localhost/web/a.aspx如果用户未登陆,则不管用户输入什么地址,都自动转到https://localhost/web/login.aspx,以前JAVA中会有个过滤器,每个页面都会判断Session,如果为空,自动到https://localhost/web/login.aspx页面,.NET中不知道如何实现! 1。比如https://localhost/web/a.aspx
1。比如https://localhost/web/a.aspx如果用户未登陆,则不管用户输入什么地址,都自动转到https://localhost/web/login.aspx,以前JAVA中会有个过滤器,每个页面都会判断Session,如果为空,自动到https://localhost/web/login.aspx页面,.NET中不知道如何实现! 1。比如https://localhost/web/a.aspx