how to keep the session active even if the browser was accidentally close?
<p>i want to add something to my site. how can i keep the user's session active even if they accidentally closed their browser. Like in facebook for example. if you log in to their site and you close the tab or the browser, when you open a browser again and visits facebook, they will automatically detect the active user and will not redirect you to the log in page. how do i do that? thanks.  </p>
