I have written a little admin function for a segment of a web site and when a user logs in with the correct admin credentials, then I set a session variable to say that they are logged in and I check that session variable for every page within the admin section.
However, users are reporting that if it takes them a little while to fill in some forms, then when they click submit they are being kicked out.
Is there a way for me to set the life time of the session vars within my PHP code? Or is there a better way to handle what I am trying to do?
Thanks,
-Greg
However, users are reporting that if it takes them a little while to fill in some forms, then when they click submit they are being kicked out.
Is there a way for me to set the life time of the session vars within my PHP code? Or is there a better way to handle what I am trying to do?
Thanks,
-Greg