Change loginUrl for asp.net login page

I tried to rename my login page and redirect to it using the following statement. Its still looking for the /login.aspx page. How can I change this?

<authentication mode="Forms">
          <forms loginUrl="xLogin.aspx"></forms>
      </authentication>
glenn_rAsked:
Who is Participating?
 
Seven priceConnect With a Mentor Full StackCommented:
 <forms name="" path="/" loginUrl="xlogin.aspx" cookieless="AutoDetect" defaultUrl="~/xLogin.aspx""   >
      </forms>

0
 
Seven priceFull StackCommented:
also you can set the default page IIS
0
 
Manoj PatilSr. Software EngineerCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.