Reputation: 969
i have a method which is not a wcf operation, that does the authentication checks
how can i cache its results for like 60 sec? and used the cached results if exits on my operation methods and if it doesn't exists execute the method to get the result?
i want to cache this method based on user name and password.
public Autenticate (UserAccount useacc)
{
............
}
public class UserAccount
{
string username, passsword, domainname;
}
Upvotes: 0
Views: 381