More in this section
Forums / General Discussions / Custom Login Control / Page

Custom Login Control / Page

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
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