M
M
Maxim2021-05-21 12:06:37
PHP
Maxim, 2021-05-21 12:06:37

Why is my php docker session dropping fast?

Using php 7.3 in docker, session type file, path not explicitly specified session.save_path
Could it be that docker is overwriting sessions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2021-05-21
@Sanasol

how fast is that? sessions live for 24 minutes by default, if you do not access the site (read how not to use the session) for more than this time, then the session dies i.e. "disconnects" you.
Docker has nothing to do with it at all.
https://www.php.net/manual/ru/session.configuratio...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question