how to check the status of login whether it is logged in or not when invoke a click member using webbrowsercontrol.
i have a webbrowser control without a web form in class file now i want that when i invoke a click member button after giving userid and pwd how can i know that i have logged in successfully.

Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Mar 29, 2017, 9:08 AM EDT
bool IsLoggedIn = ((System.Web.HttpContext.Current.User != null) && System.Web.HttpContext.Current.User.Identity.IsAuthenticated) //To allow the logged in user to access the home page of the web application after logged in. if(IsLoggedIn){//Redirect to Default pageResponse.Redirect("default.aspx");}