Page 1 of 1

Hash Cookie not replaced

Posted: Fri Apr 24, 2020 12:23 pm
by amit
My form contains a display object with an SQL that contains a Hash Cookie.
The Display Object is Empty when nuBuilder is opened with a direct URL (Auto Login).
However, its value is shown, when the manual lgoin is used.

I found out that hash cookies are not replaced when the Auto Login is used.

When I use the Auto Login: https://wiki.nubuilder.cloud/ ... .php/Login
and open nuBuilder with an URL http://localhost/nuBuilder/index.php?&u=test&p=test

nuDebug($_POST['nuHash']); in BE shows:
[0] : Array
(
[USER_ID] => 5ea2b9f8858b3ee
[USER_GROUP_ID] => 5ea2b9f2dedc4a9
[HOME_ID] => nuuserhome
[GLOBAL_ACCESS] => 0
[ACCESS_LEVEL_CODE] => test
[call_type] => login
[username] => test
[password] => test
[login_form_id] =>
[login_record_id] =>
[PREVIOUS_RECORD_ID] => -1
[RECORD_ID] => -1
[FORM_ID] => nuuserhome
[SUBFORM_ID] =>
[ID] =>

Code: Select all

 => 
    [nuFORMdata] => 
    [TABLE_ID] => ___nu15ea2ba114e3b5___
    [SESSION_ID] => s15877227698587
)
[/quote]

With the Manual Login nuDebug($_POST['nuHash']); in BE shows all the other variables / Hash cookies:


[quote][0] : Array
(
    [USER_ID] => 5ea2b9f8858b3ee
    [USER_GROUP_ID] => 5ea2b9f2dedc4a9
    [HOME_ID] => nuuserhome
    [GLOBAL_ACCESS] => 0
    [ACCESS_LEVEL_CODE] => test
    [form_id] => nuuserhome
    [redirect_form_id] => nuuserhome
    [record_id] => -1
    [title] => Home
    [call_type] => getform
    [column_widths] => 
    [forms] => 
    [iframe] => 
    [lookup_id] => 
    [object_id] => 1
    [page_number] => 
    [password] => 
    [rows] => 
    [row_height] => 
    [session_id] => s15877228804146
    [nosearch_columns] => 
    [sort] => -1
    [sort_direction] => desc
    [subforms] => 
    [tab_start] => 
    [username] => 
    [user_id] => 5ea2b9f8858b3ee
    [refreshed] => 
    [hash] => 
    [CLONED_RECORD] => 
    [NEW_RECORD] => 
    [browse_columns] => 
    [browse_sql] => 
    [browse_rows] => 
    [browse_table_id] => ___nu15ea2ba80bf03d___
    [browse_filtered_rows] => 
    [pages] => 
    [form_code] => nuuserhome
    [form_description] => Home
    [form_type] => launch
    [run_code] => 
    [run_description] => 
    [AAA] => hw
    [like] => 
    [ID] => 
    [nuDelete] => 
    [PREVIOUS_RECORD_ID] => -1
    [RECORD_ID] => -1
    [FORM_ID] => nuuserhome
    [SUBFORM_ID] => 1
    [CODE] => 
    [nuFORMdata] => 
    [TABLE_ID] => ___nu15ea2ba852c34a___
    [SESSION_ID] => s15877228804146
)[/quote]

Re: Hash Cookie not replaced

Posted: Sat Apr 25, 2020 12:07 pm
by amit
When I then Refresh the form, the value is shown in the Object display. But not initially.