This topic is locked

Problem with 'Remember me'

7/27/2020 6:28:53 AM
PHPRunner General questions
W
Wachsmann author

Hello!
I have a problem with the Login-Option 'Remember me':
I need the UserName in AfterTableInit but if i start a page the UserName is still Blank or Guest.
My debugg with 'remember me' brought the following result:
AfterAppInit: here the $_SESSION['UserID'] was blank

AfterSuccessfullLogin: here the $_SESSION['UserID'] was 'Guest'

AfterAfterTableInit: here the $_SESSION['UserID'] was 'Guest' (hier is the problem, i need the correct user but its still Guest)

AfterSuccessfullLogin: here the $_SESSION['UserID'] was Correct (but its to late for me)
When I refresh with F5, then it works.
Can I restore the session manually? Perhaps in AfterAppInit or in AfterAfterTableInit?
I hope you understand my problem :-)
Best regards

Uwe

Sergey Kornilov admin 7/28/2020

I'm afraid we do not currently have a solution for this scenario.