What is the scope of an HTTP session?
问题 What exactly is the scope of an HTTP session? I've been googling this but can't seem to get a straight answer- A session is supposed to get cleared out "when a user closes their browser", but that's unclear to me- Does that mean closing the browser window, or quitting the browser application? Does a user with two browser windows open at the same time maintain two different sessions? And are browser tabs always part if the same session? 回答1: This will depend on how you are tracking sessions in