Multiple choice technology web technology

If a mobile device user is to be redirected to a mobile web page at the start of his browser session, redirect him / her in

  1. Session_Start method in code behind file of web page

  2. Application_Start method in Global.asax file

  3. Page_Init handler of web page

  4. Session_Start method in Global.asax file

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The Session_Start event in Global.asax fires when a new user session begins, making it the ideal place to redirect mobile users to a mobile-specific page at the start of their browser session. The Session_Start in code-behind wouldn't fire at session start, Application_Start is for app-level initialization, and Page_Init is for individual page initialization.