R
R
Rodion Yurchenko2015-08-28 09:08:26
CodeIgniter
Rodion Yurchenko, 2015-08-28 09:08:26

Why does the session disappear in codeigniter?

Good afternoon!
I am writing authorization on CodeIgniter
, the problem is as follows:
Suppose I am authorized on the site I am
sitting in the user’s personal account,
I do nothing
if I just refresh the page, then after 2 minutes the session disappears
, i.e. not immediately, not with a certain work of the script
, I just update it, and the session disappears in minutes 2-3 approximately...
I don’t change anything in the code during these 2 minutes, I don’t do anything on the page
in the session settings lifetime costs 7200
tell me at least something to read on this issue....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sindrom, 2015-08-28
@aassdds

I can advise you to see what headers the server sends when setting the cookie session.
Also check that the directory for storing session data is not cleared on your own and is writable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question