Hi guys,
I have the same line of code, one in /public_html/profile/index.php and one in /public_html/admin/index.php. It checks the session and updates the db with the new time.
$sqlRegUser = "UPDATE `tbl_user` SET `fld_session` = '". time() ."' WHERE `user_id` = '". $_SESSION['ses_user']['user_id'] ."' LIMIT 1 ;";
Everything is the same but for some reason it doesn't work in the admin dir. I set error traps and got no errors. The update seems to be successful but it's not.
Any ideas?
Thanks,
Panos.