P
P
Pavel Bykov2018-05-01 00:22:53
PHP
Pavel Bykov, 2018-05-01 00:22:53

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

1 answer(s)
X
xmoonlight, 2018-05-01
@xmoonlight

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 question

Ask a Question

731 491 924 answers to any question