Cookies used by Sitecore

Version:

Sitecore Experience Platform issues cookies to website visitors and client users. The following tables describe the purpose of each cookie and link to configuration options where applicable.

Note

For a list of the cookies used by the Sitecore Content Hub, see Cookie usage.

Sitecore visitor cookies

The following cookies can be issued to website visitors:

Cookie nameDescriptionConfiguration options
sxa_siteFunctional cookie. Stores the name of the context site. Used by the Sitecore Experience Accelerator for wireframe images.

Sample value: docsite
privacy-notificationUsed by the Sitecore Experience Accelerator only. Expiry is set to 1 year.

Used by SXA privacy component.
Note

The privacy component only sets a cookie - it does not disable tracking or any other forms of processing if consent is revoked.

sc_test_combinationUsed by the Experience Optimization feature to store information about the test variant used on the current page.
SC_ANALYTICS_GLOBAL_COOKIESitecore's analytics cookie. Stores an ID (issued by Sitecore) that represents the device and a true/false value indicating whether visitor classification was guessed (robot or not robot). Used by the tracker to identify a returning contact. Only issued if tracking is enabled.

Sample value: 26c532a61c5247719cc8b68b0c41f7e4|False
Note

Customization is required to

disable tracking on a per-visitor basis and prevent Sitecore from creating the cookie.
Configure cookie lifetime
SC_TRACKING_CONSENTSitecore's tracking consent cookie.Enable or disable web tracking based on visitor consent
ASP.NET_SessionIdThe default ASP.NET session ID cookie.Configured on the sessionState element in web.config.
__RequestVerificationTokenThe default ASP.NET anti-XSRF cookie.
{website}#langStores context language of the current site.

Sample value: docsite#en
IsRedirectedFrom404This cookie is used exclusively by the Sitecore Experience Accelerator (SXA). It is set when a user is redirected to the "Page Not Found" link configured in SXA sites through Generate a custom static error page.

Sitecore client user cookies

The following cookies are issued to users of the Sitecore client interfaces (for example, the Experience Editor):

Cookie nameDescription
.aspnet.cookiesAuthentication cookie. Set for Sitecore client users if you use Sitecore.Owin.Authentication.
.aspnet.cookies.previewAuthentication cookie. Set for Sitecore client users in Preview mode if you use Sitecore.Owin.Authentication.
sc_rotated_simulator_idUsed by device preview mode.
sc_simulator_idUsed by device preview mode.
sc_dateUsed by Experience Editor for previewing and setting date and time in Editor Mode.
sc_pview_shuserPreview Shell User Cookie used when accessing the shell site during preview.
sc_rte_shuserRTE Shell User Cookie used to set up Editor.
scContentEditorFoldersState of the “Content tree” option (check box), located on the ribbon of Content Editor.
scContentEditorFoldersWidthWidth of the content tree panel in the Content Editor. Appears after resizing by a user.
langUsually refers to Sitecore item’s language or Sitecore client language.
fileDownloadToken{...}Used for the file upload/download interface. For internal use only.
messageLanguagePreserves the selected language for a message. For internal use only.
{website}#langSitecore’s client language.
{website}#sc_modeUsed by Experience Editor to indicate Edit, Preview, or Normal mode.
{website}#sc_dateUsed by Experience Editor to set or get the value from the Date or DateTime field.
{website}#sc_debugUsed by Experience Editor to indicate Debug mode.
{website}#sc_profUsed by Experience Editor to enable or disable profiling.
{website}#sc_rbUsed by Experience Editor to enable or disable borders.
{website}#sc_riUsed by Experience Editor to enable or disable Sitecore Information.
{website}#sc_traceUsed by Experience Editor to enable or disable Sitecore Trace.
.ASPXAUTHDefault authentication cookie if you do not use Sitecore.Owin.Authentication.
sitecore_userticketSitecore license assumes a limited number of concurrent users (tickets). Sitecore keeps track of every user logged in to the system and assigns a Sitecore user ticket to each.
sitecore_starturlStart page URL for the Shell site.
__CSRFCOOKIEProtection against cross-site request forgery (CSRF) attacks.
sc_fvShockwave Flash version.
sc_last_page_mode_commandUsed by Experience Editor to indicate last page mode.
experienceeditor_deviceIdUsed by Experience Editor. Cookie for Device ID
sitecore_floatie_statePosition preferences of the Floatie form.
utcOffsetFor internal use only.
If you have suggestions for improving this article, let us know!