Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Global Hash cookie disappears
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
Global Hash cookie disappears
Hi, happy new year.
I am facing a weird problem.
I set a global HK in my nuuserhome using nuSetProperty() with true as 3rd argument, to use it in a form.
The HK works as expected in BB code, but is unavailable to BE.
According to nuDebug(nuHash()); the HK disappeared...
Thank for any hint
I am facing a weird problem.
I set a global HK in my nuuserhome using nuSetProperty() with true as 3rd argument, to use it in a form.
The HK works as expected in BB code, but is unavailable to BE.
According to nuDebug(nuHash()); the HK disappeared...
Thank for any hint
Last edited by luca.ongaro on Tue Jan 02, 2024 10:37 am, edited 1 time in total.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Global Hash cookie disappears
Hi,
Happy New Year!
If you refresh the form after opening it, is the HK still unavailable?
Happy New Year!
If you refresh the form after opening it, is the HK still unavailable?
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
Re: Global Hash cookie disappears
Clicking on a Run button. The HK is set when the user changes a Input text in nuuserhome.
The form opens initially as browse, then the user can select a record for edit, or add a new record
The form opens initially as browse, then the user can select a record for edit, or add a new record
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Global Hash cookie disappears
Are you using the onchange or oninput event to set the HK? Try oninput if you haven't already.
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
Re: Global Hash cookie disappears
I was using onchange, now I added also oninput but still without success. Same with onblur
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
Re: Global Hash cookie disappears
UPDATE:
If I understand correctly, the global HKs are stored in zzzzsys_session, as sss_hashcookies. Well, my DB has no trace of HKs.
UPDATE #2:
Apparently, no HKs are set anywhere.
My application probably works only because accidentally I gave to my (non-existent) HK the same name of the nuuserhome object.
If I understand correctly, the global HKs are stored in zzzzsys_session, as sss_hashcookies. Well, my DB has no trace of HKs.
UPDATE #2:
Apparently, no HKs are set anywhere.
My application probably works only because accidentally I gave to my (non-existent) HK the same name of the nuuserhome object.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
Re: Global Hash cookie disappears
I am using
DB Version: V.4.5-2023.03.07.00
Files Version: V.4.5-2023.04.08.00
DB Version: V.4.5-2023.03.07.00
Files Version: V.4.5-2023.04.08.00