How to use FormsAuthentication.RedirectFromLoginPage also difference between FormsAuthentication.RedirectFromLoginPage and Response.Redirect in ASP.Net

Last Reply one year ago By eshwar

Posted one year ago

what is

FormsAuthentication.RedirectFromLoginPage

how to use and how different to Response.Redirect ?

You are viewing reply posted by: eshwar one year ago.
Posted one year ago

Hi Amith,

As per my knowledge If you gie FormAuthentication.RedirectFromLoginPage redirects the webpage where you mentioned the page in <authentication> in web.config file.

 

Response.Redirect--> you can specify any valid file path to redirect the page