More in this section

Forums / General Discussions / Custom Login Control / Page

Custom Login Control / Page

2 posts, 0 answered
  1. Jonathan
    Jonathan avatar
    9 posts
    02 Jun 2005
    23 Jan 2011
    Link to this post

    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.
  2. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    24 Jan 2011
    Link to this post
    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,
    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
2 posts, 0 answered