Combining cookies and sessions

This question is the result of various questions that I had today about cookies.

As you know, this does not help to process the login process with cookies.

But how can I set a cookie on login and for automatic login when my browser restarts?

If I redirect based on an existing cookie, this is dangerous, as someone else might just create a cookie. So what is the way to handle this?

+3
source share
1 answer

, cookie , , , cookie .

.

StackOverflow

+5

Source: https://habr.com/ru/post/1705422/


All Articles