php - Zend 1.12 Session Encoding -


i using zend 1.12 hobby project , using zend_session class in order store data in sessions. storing array session requires me following instance:

 $session->myarray = serialize($myarray);  $session->savesession();   // later on  $session = $this->getsession();  $myarray = unserialize($session->myarray); 

i not having serialize , unserialize data, zend 1 not have sort of mechanism handling session encoding don't have on end?

just wondering, can't find in documentation.

thanks!


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -