Skip to contentSkip to author details

VB

A 1-post collection

Written by Michael Earls    

I am developing a system that uses custom routing to load pages. I needed a quick way to secure the pages so I didn’t have to put the same The "old" way If Not Page.User.Identity.IsAuthenticated Then Response.Redirect("~/Account/Login?ReturnUrl=" & Server.UrlEncode(Request.Url.ToString(…