A
A
Alexander Avtomonov2014-06-10 15:05:25
PHP
Alexander Avtomonov, 2014-06-10 15:05:25

Why doesn't the session cookie die?

The setting is session.cookie_lifetime = 0, but after the browser is closed, the session cookie does not die. What to do?
Server nginx + php-fpm, PHP 5.5. Sessions in redis.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maxaon, 2014-06-10
@maxaon

Try
And try to really close the browser.

D
Dmitry, 2014-06-10
@mytmid

check at the end of the application what lifetime is equal to:
session_get_cookie_params ()
if not equal to zero, then you can try to set it like this:
session_set_cookie_params ()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question