V
V
Vladimir Mukovoz2018-06-25 03:41:43
HTTP Cookies
Vladimir Mukovoz, 2018-06-25 03:41:43

How to turn off marking unauthorized users with cookies in Opencart 2.3?

The task at the Nginx level is to understand whether the user is authorized or not, but opencart marks with cookies and authorized and not, at the moment I check the authorization in the controller in the header and, based on the result, I hang an additional cookie, I already draw a conclusion in nginx if there is authorization or not. But I myself do not like this method, but what if the theme is updated and everything has flown. I would like to learn about authorization in a more native way. In my opinion, disabling cookie marking for unauthorized users is the most appropriate way. Unsubscribe if I'm wrong, well, if I'm right, tell me how best to do this and what do I lose by not marking users?
Thanks in advance to everyone for your time.

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