Hi guys,
I'm trying to write a custom authentication class to communicate with an external authentication server. After some search (not sure if it's the best way) I've found the Security class with the ExtranetLogin method to authenticate a user in code. See screenshot attached.
When I call the method, my application breaks. This is due to the fact that at this time I don't have an HttpContext.Current.Session object, while the method GetLastFailedLoginDate has a dependency on it. What should I do to workaround this problem? Is there some other provider or something?
Cheers,
Tom