How to prevent the JSESSIONID Cookie from being created

Alberto6 months ago

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

Anton Tananaev6 months ago

No. But why?

Alberto6 months ago

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

Anton Tananaev6 months ago

Why are we talking about cross-domain cookie?

Alberto6 months 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 Tananaev6 months ago

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

Alberto6 months ago

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

Anton Tananaev6 months ago

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

Alberto6 months ago

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

Anton Tananaev6 months ago

Something similar to this:

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