Persistent Logins
- by Trido
I am following this article on creating persistent login cookies with my ASP.NET site:
http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.encrypt.aspx
The issue is that when I navigate to the page, I get the following compiler error:
Compiler Error Message: CS1061: 'ASP.administration_login_aspx' does not contain a definition for 'Login_Click' and no extension method 'Login_Click' accepting a first argument of type 'ASP.administration_login_aspx' could be found (are you missing a using directive or an assembly reference?)
Can anyone tell me why this is. The error message doesn't really say much and I don't believe I am missing a directive or assembly reference. The code builds without any problems.
EDIT: I did not include code because I said I was following that link which includes code. I copy/pasted from the example.