A
A
Andrew Maser2015-11-12 15:01:46
Yii
Andrew Maser, 2015-11-12 15:01:46

Why is the user logged out quickly in Yii2?

The user logs out in less than five minutes of idle time, in yii2, the cookie time was set to 60000, it does not help, through sessions too.
While on the local server all the rules.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Miku Hatsune, 2015-11-13
@Hatsune-Miku

In FF, for example, you can see how many cookies are set like this:
RMB on the page -> View Page Info -> Security tab -> View Cookies.
There, select the desired cookie and see the Expires item :)

N
null, 2015-11-12
@null

I advise you to look at the PHP settings, or rather the "session.*" block.
Compare the values ​​​​in the config for the server and locale, I think everything will be clearly visible there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question