I am looking into using JQuery cookies to keep track of a menu when the page is reloaded (http://plugins.jquery.com/project/cookie). I am using GET/POST to change the content section of my website layout.
My question is about session-cookies. They are only destroyed when the browser closes, not when the user leaves your website? Is there a way to set cookies such that they only stay while still on my site? So that if a person leaves my site and returns all while the browser is open, when they return they get the menu in the starting position?