Announcement

Collapse
No announcement yet.

"The php session time out has expired" Error Despite Session Auto Log Out

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • "The php session time out has expired" Error Despite Session Auto Log Out

    I have some code to check if my app's timeout limit of 30 mins has been reached. I call it only within the onExecute of the menu (because it's too much trouble inserting it into each an every app's OnInit, is there a quick way to do that?)

    Sometimes I get the error below after leaving the app for a while and coming back which is too revealing for the user.

    What can I do to stop this? timeout.png

  • #2
    Help...anyone?

    Comment


    • #3
      In your deployment you need to edit your php.ini
      session.gc_maxlifetime = 14400 sets it to the number of seconds before a timeout occurs.
      That is 4 hours..

      Comment

      Working...
      X