I have searched wide and low for a solution on how to extend PHP sessions because I've built an application that demands users stay logged in all day, basically. I don't have access to change the php.ini settings because it is hosted with a third party. I've found a number of different scripts out there that utilize session_set_save_handler() to use custom session handlers to save session data in MySQL, but I've had bad results. The sessions act as before only when a user gets timed out, he/she can't log in anymore. You have to close out all browsers and then log in... then it will work again... until the session times out once again.
Here are two scripts that I have tried out:
Does anyone have a reccomended way to deal with this problem? It's very annoying.
Here are two scripts that I have tried out:
Does anyone have a reccomended way to deal with this problem? It's very annoying.