access session object from PHP with mod harbour
Posted: Sat Feb 27, 2021 3:51 pm
Dear Antonio,
Is it possible to access session objects created in PHP with a mod harblur file?
I tried:
in PHP
$_SESSION["username"] = "admin";
in prg file
var loggedin = sessionStorage.getItem("username" );
alert(loggedin);
but do not get the value.
Best regards,
Otto
Is it possible to access session objects created in PHP with a mod harblur file?
I tried:
in PHP
$_SESSION["username"] = "admin";
in prg file
var loggedin = sessionStorage.getItem("username" );
alert(loggedin);
but do not get the value.
Best regards,
Otto