I'm currently learning php and trying to write session data to my database without success. I have a setup with Apache24, PHP 7 environment and Postgr ...
I'm currently learning php and trying to write session data to my database without success. I have a setup with Apache24, PHP 7 environment and Postgr ...
I try set session var in __destruct() method. Method __destruct() is running, but session var not set. While, session in __contruct() or other methods ...
After updating to PHP7 I have some problems with my applications sessionhandling. It doesn't seem to be a big problem but PHP throws this error every ...
I'm doing a migration of a PHP4 application from an old version of CentOS to a newer version. I'm using session_set_save_handler and for some reason ...
I use session_set_save_handler in a custom session class to use database storage. I have used database session storage for over a year. This has alway ...
I am trying to implement a custom SessionHandler in PHP, that handles to session through a database using transactions. The problem though, is that I ...
So I have SessionHandler class, and my other file that put that into motion like this (cfg_session.php): Alright, the small difference is that in m ...
I've searched for a solution to this issue in numerous places with no luck. I'm at a complete loss, I'm new to modifying sessions and trying to implem ...
I currently have a class containing the session_set_saver_handlerit's working fine. However I am wanting to implement a session timeout which is causi ...
I am implementing a simple session manager with PHP and MongoDB. But somehow the $_SESSION is empty on next page, assigned value on first page though. ...
I'm currently in the process of writing a PHP 'plug-in' that tracks sessions across unique domains. In order to do this, I've figured the best way to ...
I created a class to save the session data to a database. it is not saving to the database and there are no errors. Any idea why? here is the class. ...
I am trying to set up a user login/logout system using php and mysql. I have found some documentation on the subject here: http://phpmaster.com/writin ...
I am using session_set_save_handler() to save sessions to a DB. After moving from php v.5.3 to v.5.4 the write() function is not called at all; neit ...
I've been trying to set up saving sessions with session_set_save_handler() and i dont know what's the problem, i have all my callable functions but st ...
So, I am making a login system and the users should be logged in more than 24 min. That's why I decided to store the session in my DB. I used this fun ...
I've been trying to save PHP session data in a MySQL database, but can't get it to work. For a simple example, here's code that should increment a co ...
I am using PHP for a project. I have set the session life to 0 so that when the user closes the browser, the session dies and he/she is logged out. Ho ...
Ok, I hope I've got everything listed up nicely before posting this question because I've found bits and pieces of a solution here and there but no re ...
I'm experimenting with PHP's session_set_save_handler and I'd like to use a PDO connection to store session data. I have this function as a callback ...