1
Answer

Form authotication problem

Amit Ghorpade

Amit Ghorpade

12y
1.3k
1
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)