Persistent Logins

Posted by Trido on Stack Overflow See other posts from Stack Overflow or by Trido
Published on 2013-07-03T04:46:22Z Indexed on 2013/07/03 5:05 UTC
Read the original article Hit count: 122

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET