It depends, if your cookie is set without an expiration date or with an earlier date than the current date, then the cookie is gone when the browser is closed down. Otherwise, it could live as long as the specified expiration date, if the user does not clean up the cookies on her hard disk.