problem with detail add record in different tabs

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ghasembaghi
User
Posts: 293

problem with detail add record in different tabs

Post 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?

mobhar
User
Posts: 11905

Post by mobhar »

You have to customize PHPMaker template by yourself in order to ignore the usage of session variable.


danielc
User
Posts: 1599

Post by danielc »

Try to open in different browser.


mobhar
User
Posts: 11905

Post by mobhar »

It seems that it will not help much if you enable "Disallow concurrent login" under "Security" -> "Advanced Security" -> "User Login Options" -> "Login".


Ramzi
User
Posts: 16

Post 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


danielc
User
Posts: 1599

Post 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.

Post Reply