Default Working with Sessions in Multi Tab Browsers - PHP
Hi,
I am working on the php project and been stuck on Managing Session in Multiple tabs.
My Problem is ---
When i open a page in firefox window i store the id of product in session[productid] and then manage all stuff related to that product with that session i.e. edit, delete, add subproduct, comment etc..
But when i open another tab in same window for some other product then my previous session for the product 'session[productid]' is overwritten with this new product id. So all the stuffs that i do on the previous product is actually done on new product that i opened in new tab. this is because my session for product id is overwritten.
This is a very serious issue as this might cause to lose of data or data corruption.
Any Help will be greatly appreciated.
Thanks,
Salman
Reply With Quote
Hi,
I am working on the php project and been stuck on Managing Session in Multiple tabs.
My Problem is ---
When i open a page in firefox window i store the id of product in session[productid] and then manage all stuff related to that product with that session i.e. edit, delete, add subproduct, comment etc..
But when i open another tab in same window for some other product then my previous session for the product 'session[productid]' is overwritten with this new product id. So all the stuffs that i do on the previous product is actually done on new product that i opened in new tab. this is because my session for product id is overwritten.
This is a very serious issue as this might cause to lose of data or data corruption.
Any Help will be greatly appreciated.
Thanks,
Salman
Reply With Quote
Comment