Custom Login Control / Page

Posted by Community Admin on 03-Aug-2018 03:33

Custom Login Control / Page

All Replies

Posted by Community Admin on 23-Jan-2011 00:00

Has 

SecurityManager.SetAuthenticationCookie(SystemManager.CurrentHttpContext.Response, Membership.GetUser(username).ProviderName, username, false);

been replaced in the Official Release. I can't seem to get it to compile.

Posted by Community Admin on 24-Jan-2011 00:00

Hi Jonathan,

SetAuthenticationCookie is an internal method:

internal static void SetAuthenticationCookie(
            HttpResponseBase response,
            string membershipProvider,
            string userName,
            bool persistent)
        
            ...
        

Internal members are accessible only within files in the same assembly. That is the reason why you can not compile the code.

Kind regards,
Pepi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed