- This topic has 17 replies, 2 voices, and was last updated 8 years, 4 months ago by
macalter.
Tags: cookie
-
13th May 2015 at 3:11 pm #4381
I’m doing entry from the FAMILIES tab. Sometimes have reason to refresh the page but doing so means the page reverts back to the F&E tab.
ACTIONS
1) clicked on a child of the INDI and opted to open in new window; did edit and saved; closed page.
2) browser refreshed open FAMILIES tab; reverts to F&E tab----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
13th May 2015 at 3:52 pm #4382
I think I can explain, but first, for clarification so that I test the right actions, does “opted to open in new window” mean exactly that (a new browser window) or does it mean open in a new browser tab (in the same browser window)?
Nigel
My personal kiwitrees site is www.our-families.info -
13th May 2015 at 4:20 pm #4384
I opened a new browser window (for Mac, that’s a right-mouse click option). It’s when I EDIT an existing person, not add a new member to the family.
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
13th May 2015 at 4:27 pm #4385
Yes, but isn’t “open link in new tab” also a right-click option? Just want to be sure which you used.
Nigel
My personal kiwitrees site is www.our-families.info -
13th May 2015 at 4:33 pm #4386
I open a new window.
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
13th May 2015 at 4:56 pm #4387
OK, I can reproduce what is happing, but only by editing something on the child’s page on their F & E tab, such as a birth event.
So the cause is simple, and I’m afraid unavoidable at the moment. The only way for the system to remember the tab you were using is by storing a temporary session variable containing the tab number. That is stored fresh each time you visit a different tab, but otherwise remains fixed for the session (i,e, until you logout or close the browser app completely. By visiting the child’s F&P tab you have reset that cookie to that new tab.
When you close just one window, the cookie remains, so refreshing the parent’s page reads that cookie and opens at the newly stored F&P page reference.
To confirm this do the same thing but on the Child’s new window edit their name instead. That doesn’t require changing the tab. This time after you close the saved edit that window, return to the parent and refresh. Now it will stay on the Families tab.
There is a fairly new alternative session protocol that I will look into though. It might solve this problem, but I need to check it doesn’t just create new ones.
Nigel
My personal kiwitrees site is www.our-families.info -
14th May 2015 at 2:21 am #4388
Great, the big hurdle is reproducing 🙂 Will try your approach or at least know the reason for the page change.
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
14th May 2015 at 12:18 pm #4389
Would you test a possible solution for me?
Note – this may not be the final solution, so ensure the original file can be put back in case of any issues. But don’t worry, this will / can NOT harm or change any data, regardless of whether it works or not.
Just replace the file kiwitrees/individual.php with the new copy from the attached zip file. Clear your browser cache then close and restart the browser (these actions designed to ensure existing cookies are no longer active).
Once back to your site, carry out the same actions you originally reported and see if you get a better outcome.
Nigel
My personal kiwitrees site is www.our-families.info -
14th May 2015 at 3:30 pm #4391
Installed the replacement file (renamed original for backup).
Cleared browser and kiwitrees cache. Cookies gone too. Browser was restarted as total coincidence it quit on me.
Tried to edit a spouse’s profile from the FAMILIES tab of his wife. Refresh original INDI page and it stayed put.Will continue other tests to see if it keeps working.
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
14th May 2015 at 6:20 pm #4392
Have had a chance to us new file for many more tests and works okay.
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
- The topic ‘Page refresh’ is closed to new replies.