title: How does remember me cookie work with session life time?
body: <p>I'm a bit confused with this,</p>
  
  <p>Say the session has been started with default <em>php ini</em> settings where gc_maxlifetime is 1440 seconds. And i supposed to use remember me functionality with this, to which i set cookie lifetime as 14 days. As long as the session max life time set to 24 minutes which is obviously lesser than cookie life time (14 days), after 10 days (for example) the session likely (of course depends on <em>gc probability</em>) to be expired and would have no reference to the session id the remember me cookie has.</p>
  
  <p>So how would setting a remember me cookie lifetime longer than the session lifetime remember/resume the session? or do i need to change the session max lifetime according to the cookie lifetime?</p>