What is the scope of an HTTP session?

前端 未结 3 363
别那么骄傲
别那么骄傲 2020-12-24 03:51

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 us

3条回答
  •  春和景丽
    2020-12-24 04:17

    Session cookies are usually deleted when the whole browser exits. Since multiple tabs/windows share the same cookies, those tabs/windows will use the same session.

    However, an application could also pass the session identifier through the URL. In this case every tab/window would have its own session as long as you don't open it through a link with a valid session id.

提交回复
热议问题