cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change the path attribute of dtCookie

ntanaka
Guide

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


7 REPLIES 7

ChadTurner
Leader

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

-Chad

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...


Thank you for the additional information, This is quite a unique case and I would recommend opening a support ticket. Support with be able to work through this with you and provide a resolution even if that means a change in the back end of your tenant.
-Chad

Thank you for your response.
I am glad to know it is a unique case!

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.

-Chad

Thank you for your answer.
I marked your answer as best answer!

Thank you, Its is much appreciated!

-Chad