Using ASP.NET, what is the best way to re-direct a user to my login page, if they attempt to visit a page that's meant for logged-in users?
Note: Not sure if this matters, but I'm using ASP.NET WebForms, but I'm not actually using any WebForms. The front end is pure jQuery/HTML/CSS that communicates using jQuery $.getJSON() or $.post() with backend *.ashx files
Do I have to add code to the Page_Load() event of my form? Or is there central "redirector" sort of file that I can use?