After logging-in, I am not able to redirect to target.aspx. I am using
System.Web.UI.WebControls.Login class in a
simple sample code for Form based authentication . Redirecting to
target.aspx works when I use either
" or "http://IP:8080
", but not when I use
machine name in URL, example http://machine-name:8080
I overloaded OnLoggingIn(), Authenticate() and OnLoggedIn(); and
none of them got called; and this behaviour was seen whenever I used
http://machine-name:8080. The only one event that I got fired was
When I used "http://localhost:8080/", every event got fired.
Please let me know, how to tackle this issue.