How to prevent the JSESSIONID Cookie from being created

Alberto5 months ago

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

Anton Tananaev5 months ago

No. But why?

Alberto5 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 Tananaev5 months ago

Why are we talking about cross-domain cookie?

Alberto5 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 Tananaev5 months ago

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

Alberto5 months ago

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

Anton Tananaev5 months ago

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

Alberto5 months ago

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

Anton Tananaev5 months ago

Something similar to this:

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