Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

LoginStatus and LoginName doesnt update after validation

$
0
0

Hi i have this problem i used Login, setuped MembershipProvider and in that i have this simple logic:

public override bool ValidateUser(string username, string password)
{
if(username == "jirka" && password == "jirka") return true;
return false;
}

when i enter right username and password i dont get in Login any error message but LoginName

dont show any username and LoginStatus is still as Login. Even in debugger i see that authentification was good 

because this row is marked:  if(username == "jirka" && password == "jirka") return true;

anyone know where can be problem ? 


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>