[SOLVED] Global variables missing after a while

Hello there,

I’m using a login control form to set global varibles. These variables contains important information about the user. There are some forms that users keeps open for a long time (more than 20 minutes). Sometimes, when users return to the application and try to use it, an error message appears indicating that the global variables needs to be defined.

I think the problem is related with the way the application passes the global variables to other forms, but I need some assistance please.

Thank you!

Change your timeout on server to a value greater than 30min.

Hello,

You can change the value of session time life as Giu told in last topic.
In your php.ini increases the value of session.gc_maxlifetime variable. you sets a value in seconds. After this change, restart your web server.

Best Regard,
Netmake team