how to get session variable value in php? -
I can see a session within my code and once I printed that session, let me see the source Things got in
Then I found this line to get the value of "login_count" Tried
resonance "value". $ This-> session-> ("login_count");
But I call it " Login_count "I can not see in echo. Only this result is getting in the thoughts.
How do I access the" login_count "variable In a variable, I can get it.
Without looking at the code written in the session, I doubt That this is what you are looking for:
$ echo-> Session-> Read ('user.user.login_count');
Comments
Post a Comment