More in this section

Forums / Developing with Sitefinity / LoginView with Multiple membership providers

LoginView with Multiple membership providers

3 posts, 0 answered
  1. Adam
    Adam avatar
    63 posts
    Registered:
    30 Jan 2008
    25 Mar 2009
    Link to this post
    I'm having trouble with the login view control.  Right now the loginview control will only show me the Anonymous view regardless of whether I am logged in or not.  I do know that it is successfully logging me in.

    Previously I had the login form inside the loginview control which worked correctly, but I moved that form into a different content area and now the loginview seems to be cached in the anonymous state. 

    Is there a way to turn of caching for just this control?

    Adam
  2. Adam
    Adam avatar
    63 posts
    Registered:
    30 Jan 2008
    25 Mar 2009
    Link to this post
    I was able to get this to work.  I disabled caching on the login page.  It started working correctly.  I then re-enabled caching and it still continued to work.  I don't know why that would have fixed it, but it seems to be good now.
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 Mar 2009
    Link to this post
    Hi Adam,

    You can use LoginView control as substitution control. Check out the following blog post
    http://blogs.sitefinity.com/bob/posts/09-03-16/Performance_Optimizations_Part_2_%E2%80%93_Cache_Substitution_Controls.aspx

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered