Welcome Guest, Not a member yet? Register   Sign In
CI3 Session lost, come back if I refresh the page
#1

I have a problem that I cannot understand, I have a login page that performs an ajax call, if the credentials are correct redirects (with javascript), to the reserved area and the session is present, but if I switch to other pages the session will not it is present (in reality not always and not everywhere), but if I refresh the page the session values become available again.

The values are not reassigned, they are set only at login, the session exists because if I print it on the screen I return


PHP Code:
Array(
    [__ci_last_regenerate] => 1650440533



But the other values are not present, they return only if you refresh the page

The session library is present in the autoload configuration file, so it is available everywhere.
The session configuration is like the one used in other sites where I don't have this problem.

The version of CI3 is the latest 3.1.13
Reply
#2

did you ever find the cause of it? I believe I'm experiencing the same issue....
Reply




Theme © iAndrew 2016 - Forum software by © MyBB