Answer the question
In order to leave comments, you need to log in
Why are session_decode and session_encode needed in php?
Hello, I recently stumbled upon such a topic as sessions in php, I got interested, and now I think what these methods are for, in terms of use, because the desired session itself is decoded and entered into the $_SESSION super global variable, and saving sessions is also automatically simple replenishment/change of elements inside the given array....
Answer the question
In order to leave comments, you need to log in
serialize and deserialize session variables.
It is necessary when you restore session from server variables.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question