title: Set $_SESSION to expire in 1 month PHP
body: <p>I am trying to get my $_SESSIONS to expire in 30 days. I do not deal with any sensitive data on my server, so I am not worried about cookie hi-jacking. Would this work?</p>
  
  <pre><code>ini_set('session.cookie_lifetime', 2592000); 
  ini_set('session.gc_maxlifetime', 2592000);
  session_start();
  </code></pre>
  
  <p>Thanks in advance.</p>