Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to store a value in session and to remove it on browser close. How can I do this?
You can set the cookie lifetime via the admin section to "0". This should mean that the cookie will expire on browser close.
Required, but never shown