Home > DeveloperSection > Forums > Redirect to my login page instead of the default on c# asp.net
Tanuj Kumar

Total Post:134

Posted on    December-22-2014 10:43 PM

 ASP.Net C# 

 1 Reply(s)
 788  View(s)
Rate this:

I am using visual web developer and I am creating my first site.

I set access rules for some pages, however, when I preview the site and I click on those pages instead od redirecting me on the Login page I created it redirects me to the default master page one.

How can I change this setting?

Ankita Pandey
Ankita Pandey

Total Post:183

Posted on    December-23-2014 5:24 AM

Please modify the below section in your web.config file:

<!-- Web.config file -->


   <authentication mode="Forms">

      <forms forms="401kApp" loginUrl="/login.aspx" />



Don't want to miss updates? Please click the below button!

Follow MindStick