CacheFragment - Solution Sites Routine

This sub caches an HTML fragment*.*

Definition

Sub CacheFragment(
  byVal sCacheName,
  byVal sCacheItemName,
  byVal htmlString)

Parameters

  • sCacheName
    A string containing the name of the cache.
  • sCacheItemName
    A string used to identify the cached HTML fragment.
  • htmlString
    A string containing the HTML fragment to cache.

Defined in File

include\std_cache_lib.asp

Routines Called

GetTicketInUrlArg

Called By

htmCategoryHTML

htmRenderDefaultPage

htmRenderFillOutForm

htmRenderFullTextSearchResults

htmRenderLoginSection

htmRenderMenu

Main (pickship.asp)

Main (product.asp)

Main (srchdept.asp)

Main (stepsrch.asp)

RenderNavbar

Remarks

If the HTML fragment contains a ticket, it is replaced with a token ("__TICKET__"). This token is replaced with the ticket of any user who subsequently calls LookupCachedFragment for the given cache item (sCacheItemName).

The key to the cached item consists of the item name, sCacheItemName, appended with the language used, and a constant identifying whether the ticket of the user is stored in a cookie or in the URL.

Copyright © 2005 Microsoft Corporation.
All rights reserved.