O
O
olava002021-07-15 11:53:46
PHP
olava00, 2021-07-15 11:53:46

How to save authorized status?

How to save the status of authorized after the death of the session and cookies?

Because after closing the browser, re-authentication is required. I would like to automate this process.
There is an idea to write to the database in the "sign_in" field with the data type int with a possible status of 1/0. But only the username is stored in $_COOKIES and the question arises how to solve this dilemma

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2021-07-15
@inoise

No way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question