FormsAuthentication not declared!
I am trying to use FormsAuthentication, but getting the error:-
"Name FormsAuthentication not declared".
Do I need to include anything in my code behind file. The code behind file has following statement:-
If ValidateUser(Me.txtLoginName.Text, Me.txtPassword.Text) = True Then
FormsAuthentication.RedirectFromLoginPage(Me.txtLo ginName.Text, False)
Me.lblHelp.InnerText = "Login Failed. Please Try Again !"
In my web.config file, I have the following code:-
<deny users ="?" />