Click to See Complete Forum and Search --> : PHP5 and SESSIONs


Madwacker
06-08-2004, 07:47 PM
I read or heard a long time ago when PHP 5 was still talk that the Zend crew was going to re-write how PHP handles SESSIONs to be more stable and easier to use. Did this happen?

Also a fellow php developer told me that he would like to see PHP allow objects in the session to validate against for registration, and multi-data collecting pages.

I see no mention of either of these things in reading around, and am just curuious about the topic.

Weedpacket
06-09-2004, 05:01 AM
I didn't hear about the earlier issue (didn't realise it was an issue). As far as "easy to use" it's a bit hard to go past:
session_start();
echo $_SESSION['session_var'];
As for objects in sessions (http://www.php.net/manual/en/language.oop.serialization.php)....