i open this page (ID=17):
- orderdetailslist.php?showmaster=order&ID=17&a=add
the open this page (ID=18) in another tab: - orderdetailslist.php?showmaster=order&ID=18&a=add
then back to first page and insert new detail record,
but when i check the parent field in new inserted record, i see that parent id=18
(new detail record should be inserted under ID=17 but inserted under ID=18)
this problem occurred because Master ID stored in session.
can u help me to solve this problem?