Hi
In below line where RedirectToLoginPage(); is to defined. Do we need to give in Web.Config
FormsAuthentication.RedirectToLoginPage(); <authentication mode="Forms"> <!--<forms defaultUrl="~/Home.aspx" loginUrl="~/Login.aspx" slidingExpiration="true" timeout="2880"></forms>--> <forms name="frmPayroll" loginUrl="Login.aspx" timeout="60" slidingExpiration="true" /> </authentication>
Thanks