title: Page expired due to inactivity in Laravel
body: <p>I have a Laravel application(Laravel 5.6) which is currently running smoothly in the development environment. But when I shift it to the production environment it shows a message "The page has expired due to inactivity please refresh...". I have looked for solutions including increasing the <strong>SESSION_LIFETIME</strong> to 8 hours, including <strong>csrf</strong> in all my forms, but all to no avail. What else should I do to resolve this problem because at times the users of the system can be entering data and suddenly are logged out of the system and start all over again?</p>
  
  <p>Sorry for asking a question that has been asked and answered so many times but seems not to be working for me.</p>
  
  <p>I appreciate so much and thanks in advance</p>