I’m trying to start a session in one class, and assign various values.
In the next class I’m trying to obtain the results of that session?
But it’s not working what should I do?
I’m trying to start a session in one class, and assign various values. In
Share
Impossible to say for sure without code of course, but most common error is forgetting to start your code with:
session_start()Keep this in mind: (as hinted in the comments by @julioc )