How to prevent the JSESSIONID Cookie from being created

Alberto3 months ago

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

Anton Tananaev3 months ago

No. But why?

Alberto3 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 Tananaev3 months ago

Why are we talking about cross-domain cookie?

Alberto3 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 Tananaev3 months ago

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

Alberto3 months ago

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

Anton Tananaev3 months ago

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

Alberto2 months ago

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

Anton Tananaev2 months ago

Something similar to this:

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