I am working on transactional website.
I am storing transaction identifier (a unique id) in a cookie, so that I can display transaction history to user.
Now a days modern browsers support multiple tabs in same window.
I am facing a problem when user starts two different transaction in two different tabs in same browser window. I am unable to differentiate between different browser tabs, because which same cookie is getting overwritten, in both the tabs.
Is there any way by which I can create tab specific cookie? which won't be accessible in another tab? Or is there any unique identifier for tabs?
I am creating cookie using java script.
I am storing transaction identifier (a unique id) in a cookie, so that I can display transaction history to user.
Now a days modern browsers support multiple tabs in same window.
I am facing a problem when user starts two different transaction in two different tabs in same browser window. I am unable to differentiate between different browser tabs, because which same cookie is getting overwritten, in both the tabs.
Is there any way by which I can create tab specific cookie? which won't be accessible in another tab? Or is there any unique identifier for tabs?
I am creating cookie using java script.
Comment