E
E
Edd Step2020-07-02 19:53:21
HTTP Cookies
Edd Step, 2020-07-02 19:53:21

Why does it not store site cookies on a non-standard port?

Good afternoon, sites are set up for development on different ports, non-standard. It turned out that cookies are not saved because by default they are written without a port and, accordingly, swear at different sites (without a port and with a port).

Set-Cookie: OCSESSID=76b0e3e913bd94cd78ba428d12; path=/
Set-Cookie: OCSESSID=76b0e3e913bd94cd78ba428d12; path=/
Set-Cookie: language=ru-ru; expires=Thu, 30-Jul-2020 13:56:35 GMT; Max-Age=2592000; path=/; 
domain=site.ru:2345
Set-Cookie: currency=USD; expires=Thu, 30-Jul-2020 13:56:35 GMT; Max-Age=2592000; path=/; 
domain=site.ru:2345


Where to look?
The server is standard, vestacp (nginx + php-fpm) was installed, opencart 3.0 store

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question