-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange output for a php request of $_SESSION #4774
Comments
According to stack overflow, it's because the "cDaoRecord_lizmap_Jx_user_Jx_pgsql" (and jFormsSession) classes are unknown when session is deserialized (by print_r) If you want to know the currrent user in session, you need to use jelix/lizmap objects ( |
using
my debug log come out as you can see after successful login in LWC
|
the ACL groups to which the user belongs can be found with |
@nworr my mistake! The php session path was not readable to the system group, so the signal returned by |
When I try to obtain informations on active LWC(PHP) session in my machine by
session_start(); echo '<pre>'; print_r($_SESSION); echo '</pre>';
I receive this response caused by a request that throws an error about an incomplete object in the PHP session:
then I'm not able to pass $_SESSION info to another php because of session crash.
can someone tell me if is it a bug or a misconfiguration caused by me?
And in both cases what can i do?
Versions, safeguards, check summary etc
Versions :
List of safeguards :
Check Lizmap plugin
Operating system
Ubuntu 22.04
Browsers
Chrome
Browsers version
Versione 129.0.6668.58 (Build ufficiale) (a 64 bit)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: