The browser only holds an unguessable id; the server holds who the user is. Deleting the server entry ends the session at once.