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

amitsinghr
 
on Feb 07, 2017 02:02 AM
3467 Views

what is

FormsAuthentication.RedirectFromLoginPage

how to use and how different to Response.Redirect ?

Download FREE API for Word, Excel and PDF in ASP.Net: Download
eshwar
 
on Feb 07, 2017 02:10 AM

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