K
K
Khurshed Abdujalil2017-05-23 08:53:08
Nginx
Khurshed Abdujalil, 2017-05-23 08:53:08

How to fix 400 error for site visitors on the server side?

It turned out that too much data was written in cookies, as a result, some users got 400 errors, how to solve this error? I already wrote in the code to delete such cookies, but the user cannot get to it yet, because immediately upon entering the site it gives a 400 error. Some settings were registered in the nginx configs, but this did not solve the problem. Are there any solutions? Not all users will understand that it is necessary to remove cookies from the browser

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Mikhalev, 2017-05-23
@Endru9

1) make JS on the page with deleting the cache and cookies.
2) temporarily put a stub on the main page, in the stub tell how to clear cookies. provide for a transition to the site if the user has already cleaned everything.
3) make an e-mail newsletter for all users of the site.

D
DuD, 2017-05-23
@DuD

Why is nginx giving 400? Need log details.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question