title: Session cannot remain for a long time its automatically destroyed
body: <p>I have an issue with session , my session is automatically destroyed after few minutes of inactivity ,i think its must be 24 minutes i.e. 1440 seconds.I want to session remain for a long time , i am using .user.ini file on the server and set <strong>session.gc_maxlifetime</strong> to 31557600 seconds and <strong>session.cookie_lifetime</strong> to 31557600 but nothing happened for me .Its still logout after 1440 seconds of inactivity .I have also attached session value of png image of phpinfo.
  I hope your answer or any help will work for me.Thanks.<a href="https://i.stack.imgur.com/yQUMP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yQUMP.png" alt="enter image description here"></a></p>