Welcome Guest, Not a member yet? Register   Sign In
Session data lost after redirect randomly (CI4.1.5)
#16

(09-27-2022, 04:16 AM)pJenkiss Wrote: When I refresh the same page (without login), every few seconds a new record is added to "ci_sessions" table.

Note: not every refresh creates new record, it happens randomly. Sometimes it creates it every refresh, sometimes it's the same for minute or so (random time, random amount of refreshes)

The behavior seems to be very strange.

There should be one record for one valid session, and the primary key constraint in the session table
(https://codeigniter4.github.io/CodeIgnit...rimary-key)
should assure that there is only one record.
Reply


Messages In This Thread
RE: Session data lost after redirect randomly (CI4.1.5) - by kenjis - 06-30-2023, 06:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB