I have a very basic knowledge of the web programming, and I couldn’t figure out the answer to this question.
Typically, a cookie is used to identify a session in web applications. However, as far as I know, multiple browser windows share cookies. In that case, how does web applications distinguish between the tabs?
Edit: I guess all the answers are saying the same thing – there is no standard way to handle this. Ok. Thanks for resolving my uncertainty guys.
It cannot distinguish at all. Hence comes the challenge for web developers – make their application robust to prevent data destruction or unauthorized operations when access is performed from some other “outdated” tab.