I am using rails and devise. I want the user to be automatically and instantly logged out on browser close. The way I understand it, in rails, the cookie generated by the session method should expire immediately on browser close. I can't find where devise is making the session if it is at all. I see there is a timeoutable option but I don't want that. If remember me is unchecked I want the user to have to log in again if the browser is closed.
How can I get this functionality?