K
K
Kirill Gorelov2016-10-13 17:02:42
PHP
Kirill Gorelov, 2016-10-13 17:02:42

Question about authorization on the site in php?

Hello guys.
Question. I registered on the site, everything is ok, it works.
But a question. When I closed the tab and after some time I open my site, I need to log in again. How can I make it so that the authorization is not reset?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Gribkov, 2016-10-13
@L1Qu0R

Read about sessions php.net/manual/ru/book.session.php

M
Mikhail Osher, 2016-10-13
@miraage

session.gc_maxlifetime
session.cookie_lifetime

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question