Amit Ghorpade

Amit Ghorpade

  • NA
  • 3
  • 11.4k

Form authotication problem

Feb 9 2012 5:57 AM
I am using form authotication in my web application and used to may custom design for login page.

after authorised user i set this line:

FormsAuthentication.RedirectFromLoginPage(txtLoginName.Value, blnFlag);

but after this line execute page can not redirect default page.


in my web.config file setting is:

<authentication mode="Forms">
      <forms name=".TransportAuth" loginUrl="/Login/Login.aspx"></forms>
    </authentication>
    <authorization>
      <deny users="?"/>
    </authorization>



what i do to redirect page to default page.

Thanks in advance

Answers (1)