1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / LoginViewControl and Cache

LoginViewControl and Cache

2 posts, 0 answered
  1. waynegs
    waynegs avatar
    2 posts
    Registered:
    05 Apr 2007
    20 May 2010
    Link to this post
    Can anyone help me with the using the LoginViewControl on pages with cache?  Currently, one someone logs in or out, the control does not update till the cache clears.

    This is the server side cache that is keeping the control from updating.  How can I set it so this control is not cached?
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    20 May 2010
    Link to this post
    Hello waynegs,

    You should use cache substitution control, so that the currently logged in user information is not pulled from cache. A sample can be found here.

    Kind regards,
    Radoslav Georgiev
    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