How to prevent the JSESSIONID Cookie from being created

Alberto 2 years ago

Hello everyone, is there a way to not generate the JSESSIONID Cookie when creating a session?

Anton Tananaev 2 years ago

No. But why?

Alberto 2 years ago

Hi,
Browsers are already dropping support for the cross-domain cookie, and it doesn't work on iOS or Safari, for example.

Anton Tananaev 2 years ago

Why are we talking about cross-domain cookie?

Alberto 2 years ago

We connect to the Websocket from different WebAPPS external to Traccar that are hosted on the clients' domains. The cookie is created in the main domain where Traccar is hosted, so IOS and other browsers detect it as a crossdomain cookie and do not allow its use.

Anton Tananaev 2 years ago

Sounds like it's a problem with your app and not Traccar.

Alberto 2 years ago

Do you know of any similar case, or of some functions that we can review to solve our problem?

Anton Tananaev 2 years ago

I recommend just having everything on one host. You can also proxy API requests.

Alberto 2 years ago

Hello, do you have any documentation where I can see how to configure proxy requests?

Anton Tananaev 2 years ago

Something similar to this:

https://www.traccar.org/secure-connection/