Page 1 of 1
problem with detail add record in different tabs
Posted: Wed Aug 14, 2013 5:56 pm
by ghasembaghi
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?
Re: problem with detail add record in different tabs
Posted: Thu Aug 15, 2013 11:28 am
by mobhar
You have to customize PHPMaker template by yourself in order to ignore the usage of session variable.
Re: problem with detail add record in different tabs
Posted: Thu Aug 15, 2013 12:46 pm
by danielc
Try to open in different browser.
Re: problem with detail add record in different tabs
Posted: Fri Aug 16, 2013 2:01 am
by mobhar
It seems that it will not help much if you enable "Disallow concurrent login" under "Security" -> "Advanced Security" -> "User Login Options" -> "Login".
Re: problem with detail add record in different tabs
Posted: Mon Oct 14, 2013 5:36 am
by Ramzi
Same problem here when open many pages in different browser tabs, is its session or cookies issue ?
please help so each page will has its data as if its opened on different browsers or locations,
thanks
Re: problem with detail add record in different tabs
Posted: Tue Oct 15, 2013 10:28 am
by danielc
Ramzi wrote:
Same problem here when open many pages in different browser tabs, is its session
or cookies issue ?
- Are you mean you open more than one detail add page per different browser? Only open one new detail add page in one browser. The foreign key will store by session variable. If more than one detail add page, it will store the latest one.