18 Mar 2019 12:35 PM
Hi,
I know we can change the domain attribute of dtCookie.
The configuration is below;
Application settings > Advanced setup > Cookie and header settings > Domain to be used for cookie placement
Then, how about path attribute?
Does anyone know how to change the path attribute of dtCookie?
Best Regards,
Natsumi Tanaka
Solved! Go to Solution.
08 Jun 2020 06:52 PM
So you can change the domain from the advanced settings in the WebUI, this is necessary when sometimes cookies are not set on the correct domain, in the case of no correlation between user actions and server side PurePath's, and some other scenarios.
But I haven't been able to find much on a path attribute for the dtCookie, I did find some information on the secure
attribute for the dtCookie.
Dynatrace allows you to set the Secure
cookie attribute for all cookies that are set by Dynatrace. By applying this attribute (i.e, flag) on the set-cookie
header, you can ensure that the browser sends these cookies only over secure connections.
Here's the documentation for this, let me know if this is something along the lines of what you were looking for.
https://www.dynatrace.com/support/help/shortlink/cookies#secure-cookies
11 Jun 2020 10:06 AM
Thank you for your response.
In our customer case, they have different hosts on the same domain, like this.
- https://xxx.com/A-service on Host A (with OneAgent and ruxitjs)
- https://xxx.com/B-service on Host B (without OneAgent)
When users access https://xxx.com/A-service, the browser obtain dtCookie and next they access https://xxx.com/B-service, it share dtCookie.
However, https://xxx.com/B-service is not accept any other cookie, so the session expired error occurs.
So, I think if we could define path attribute of dtCookie, then it would be resolved...
11 Jun 2020 12:55 PM
12 Jun 2020 04:59 AM
Thank you for your response.
I am glad to know it is a unique case!
12 Jun 2020 01:16 PM
You're welcome. If you are satisfied with this answer, please mark this as such. Also if you'd like to reward the user who supplied the answer, please click Reward User and award points as you see fit.
15 Jun 2020 01:35 AM
Thank you for your answer.
I marked your answer as best answer!
15 Jun 2020 01:02 PM
Thank you, Its is much appreciated!