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: void Page_Load(Object sender, EventArgs E){ FormsAuthentication.Initialize(); //Rest of the Page_Load code goes here}
B. On each page in the Web site: void Page_Load(Object sender, EventArgs E){ FormsAuthentication.RedirectToLoginPage(“login.aspx”); //Rest of the Page_Load code goes here}
C. On each page in the Web site: void Page_Load(Object sender, EventArgs E){ Response.Redirect(“login.aspx”);//Rest of the Page_Load code goes here}
D. In the Web.config file:
查看答案
商品运输包装具有方便功能,以提高物流的各种作业效率。
A. 正确
B. 错误
小型水库主要由(),(),(),三部分组成,所谓的三大件。
承受冲击载荷的零件,除应具有较高的()外,还要有好的()。
A. 硬度,膨胀系数;
B. 硬度,抗拉强度;
C. 硬度,冲击韧性;