I\'m trying to set session cookie in javascript like this:
document.cookie = \'name=alex; path=/\'
But Chrome doesn\'t delete it even if I
A simple alternative is to use the new sessionStorage object. Per the comments, if you have 'continue where I left off' checked, sessionStorage will persist between restarts.