title: How to update database when session expires automatically in codeigniter
body: <p>I am updating login and logout date &amp; time of all users who logs into my website , When they click on logout at that time i am saving logout time of that particular user but when session expires automatically i am not able to update logout date &amp; time .</p>