Hello,
I have developed this web app that has a php log in mechanism. My user is complaining that she had to re-log in after the application browser window being minimized for one or two hours and she clicks on the "reload page" button. She hopes that she can be kept logged in for 8 hours. Can someone tell me how to achieve that? I have tried the session_set_cookie_params(0, '/'); before session_start(), I have also tried adding session.gc_maxlifetime = 28800
session.save_path = "/directory/to/Sessions" to a php.ini created under the website root.
But it still logs out after a short while. Can someone tell me how to resolve this?
Thank you!
Keep logged in when reloading page after inactive for long
Moderator: General Moderators