K
K
Kamil2020-08-04 10:31:13
PHP
Kamil, 2020-08-04 10:31:13

Why can the session in the browser be terminated?

Hello. Such a problem. I don't know where or how to look.
There is a site that has authorization, by default the session time (life of the token) is 30 minutes.
There are devices on which this token ends at a random time. Sometimes once every minute, sometimes once every three minutes.
But not longer, which actually strains everyone.
The main thing is that let's say on a test with one of the clients, the session is stored as expected for 30 minutes.
In parallel, a test was also carried out on a laptop, the session also runs for 30 minutes.
But there is a macbook, the session is terminated there.
1. IP does not change after authorization
2. Before authorization, we tried to clear the cache
3. There are no errors in the logs on the site itself (which is based on Apache)

How can you find the cause? Obviously, the reason is not in the site but in the browser or device, but how can you find the reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alekssamos, 2020-08-04
@alekssamos

https://habr.com/en/post/28418/

B
Boris Korobkov, 2020-08-05
@BorisKorobkov

Turn off plugins and other pseudo-optimizers in that browser.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question