Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.QueryHelper.AddRando Method

Add some random query string to the url to defeat client-side caching for a page.

Class: YetaWF.Core.Support.QueryHelper
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Syntax

public static string AddRando( string url );

Parameters

url

The Url.

Return Value

Returns the same Url with a random query string argument added to defeat client-side caching for a page. This is typically used when transitioning from anonymous to authenticated users so the page is re-rendered. Otherwise a static page will not be rendered correctly if the client has already cached the page.

See Also YetaWF.Core.Support.QueryHelper ClassYetaWF.Core Overview