Questions tagged [cookies]

For questions related to the use of cookies as they specifically relate to Sitecore. This tag should not be used for general questions about cookies that are not specific to Sitecore. Typical cookie questions tend to be regarding Sitecore's session cookies and analytics cookies.

Filter by
Sorted by
Tagged with
0
votes
2answers
74 views

Prevent sitecore from creating the the sitename#lang cookie

Is there a way to block sitecore from creating the {website}#lang cookie? https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/cookies-used-by-sitecore.html
0
votes
0answers
17 views

Cookies in RenderView

We have the need to set contents of the cookie on the View of the page. How do we access the "Request/Response" object in the SSR method renderView?
3
votes
1answer
261 views

How do I change the Sitecore Analytics cookie to be SameSite=None?

With the default security changes in browsers, third party cookies are getting blocked. Sitecore's SC_ANALYTICS_GLOBAL_COOKIE doesn't seem to have a SameSite property in it so it is being treated as ...
1
vote
0answers
106 views

How to make sitename#lang cookie HttpOnly

Friends, I am facing one vulnerability issue saying sitename#lang cookie not being HttpOnly for my application. Can anyone suggest me that how and where can we change it. or any implications if I ...
1
vote
1answer
427 views

Change value of SC_ANALYTICS_GLOBAL_COOKIE to false

Can we override SC_ANALYTICS_GLOBAL_COOKIE through code? Meaning, in my configuration file I set to true, through code I want to set it to false for a particular user. Is it possible?
-1
votes
1answer
67 views

Store User IP address 0.0.0.0 until user not accept Site Cookie Policy in Sitecore 9.2

WE have enabled Cookie Policy popup in our Site.. If end user not accept the cookie policy then we have to store its IP address as 0.0.0.0 or blank in XDB... Once it accept then the actual IP address ...
1
vote
0answers
249 views

Set Http and Secure flag for Sitecore Shell#Lang cookie [duplicate]

Is there a way in c# to set Http and Secure flag true for shell#lang cookie (in my case website#lang). As this cookie is Sitecore cookie. Any help/pointer would be a great help. Thanks
3
votes
2answers
181 views

Tracking and identifying multiple users on the same session

Sitecore's documentation always talks about how the same person comes back to the site and is identified. How are multiple persons handled? Say that a person first enters the site (anonymous tracking)...
0
votes
1answer
253 views

Sitecore is setting same language cookie multiple times in response headers

Our multi-site Sitecore instance (7.0.- rev-130424) is setting same language cookie multiple times like below in response headers: Set-Cookie: SiteName#lang=de-DE; path=/; secure; HttpOnly Set-...
3
votes
1answer
899 views

Sitecore shared session state not working - session state works in each site, but not between sites

I have two sites that I'm trying to implement single sign on for by setting up shared session state. I have followed the steps here: Configured the SQL server to support session state Set the session ...
1
vote
1answer
200 views

Navigation between sites using same lang cookie

I'm trying to navigate between sites but current language is not consistent between sites under the same tenant, how to unify lang cookie?
2
votes
1answer
936 views

How to Enable SSL Secure for sitecore shell cookies

I have added below code snippet (as in Andy Burns Blog https://andrewwburns.com/2016/10/21/secure-your-sitecore-cookies/ ) to secure the Sitecore cookies. <System.Web> and <httpCookies> ...
0
votes
1answer
521 views

Forms Authentication cookie with Sitecore

Does it require to explicitly set authentication cookie after authenticating user via Sitecore Authentication Manager? if (Sitecore.Security.Authentication.AuthenticationManager.Login( ...
1
vote
1answer
600 views

Browser Cookie Disabled, Sitecore behaviour

As we know, currently most sites depend on cookies being enabled in the browser, including Sitecore which handles personalization, tracking analytics etc. What if cookies are disabled? Do we really ...
2
votes
0answers
91 views

Maintaining/Sharing session between virtual folders

I am a bit confused here. Under the same Sitecore 8.1 instance, I have two web sites set as two virtual folders (www.site.com and www.site.com/customers) under the same app pool. This is a temporary ...
6
votes
1answer
592 views

Programmatically log visit when Analytics cookie is disabled

Due to EU cookie law, I have a site where we are disabling the Tracker via a pipeline processor ala: Disable xDB tracking for single requests By interacting with the site, this will serve as consent ...
5
votes
2answers
2k views

Ways to block SC_ANALYTICS_GLOBAL_COOKIE from being deployed?

Because of EU legislation, sometimes you have to block tracking cookies from being deployed. In Sitecore's case this would mean the SC_ANALYTICS_GLOBAL_COOKIE, since it's not absolutely necessary for ...
1
vote
0answers
343 views

Sitecore 8 ADFS module no FedAuth cookie

I've added the Sitecore ADFS module to Sitecore 7.2 and it works. Using the same module on Sitecore 8 doesn't work. I can see the MSISAuth cookies from sts. When it comes to reading the FedAuth ...
5
votes
1answer
531 views

sitecore_userticket cookie generated differently across Sitecore versions

I am implementing a Single sign on solution for a client. It is required if a user is logged in for one of the two sitecore sites, he/she will be logged in for the other. The first instance is 6.5.0 (...
6
votes
3answers
1k views

Rename SC_ANALYTICS_GLOBAL_COOKIE

Is there a way to rename the Sitecore cookie SC_ANALYTICS_GLOBAL_COOKIE? Wappalyzer identifies a Sitecore site via this cookie, and we would like to stop it from doing so, whilst retaining the ...
10
votes
4answers
2k views

Setting expiry date for Sitecore Language cookie

Sitecore does not seem to set the expiry date for the language cookie, Which means it will be stored per "session", meaning If user switch language on the site then closes the browser and open it ...
13
votes
2answers
1k views

How does xDB track individual visits?

With Sitecore 8.x, there is no longer a cookie associated with the individual visit (though of course the visitor cookie, SC_GLOBAL_ANALYTICS_COOKIE is still there). How does xDB track individual ...