题目内容

You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use? ()

A. In the Web.config file: On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load FormsAuthentication.Initialize() End Sub
B. On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load FormsAuthentication RedirectToLoginPage("login.aspx") End Sub
C. On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load Response.Redirect("login.aspx") End Sub
D. In the Web.config file:

查看答案
更多问题

零件间公差配合的种类有哪几种?配合制度有哪几种?

红外线设备大、中修和维修费用如何规定?

主沟一般前窄后宽,目的是降低渣铁(),有助于渣铁分离。

工程施工常发事故有()、()、物体打击、机械伤害、坍塌等。

答案查题题库