Welcome Guest, Not a member yet? Register   Sign In
Issue with sessions not saving cross page loads
#1

[eluser]domainsvault[/eluser]
These 2 time stamps are based off of
pageLoad: 2011-09-16 03:22:35 - 1316168555
Session: 2011-09-16 03:22:35 - 1316168555

Code:
echo "pageLoad: " . date('Y-m-d H:i:s', $pageLoad) . " - " . $pageLoad."<br>";
echo "Session: " . date('Y-m-d H:i:s', $this->session->userdata('last_activity')) . " - " . $this->session->userdata('last_activity');

This time stamp is based off of whats in the DB
DB Time: 2011-09-16 03:26:28 - 1316168788

Code:
echo "DB Time: " .date('Y-m-d H:i:s', 1316168788) . " - 1316168788<br>";


however.. I am noticing that my session table is filling up with data just based on me. Its not renewing the caught data its adding a new row per load, thus I assume is getting conflicts based on that. The hash and last_acitve update with each row, a different value per row. the other 2 columns stay the same. Anyone have any idea what could be causing this?




Theme © iAndrew 2016 - Forum software by © MyBB