Possible to store arrays in session variables?

From: Date: Mon, 24 Sep 2001 19:34:22 +0000
Subject: Possible to store arrays in session variables?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68591@lists.php.net to get a copy of this message
Is it possible to store arrays inside of session variables? I mean is this a valid statement? $HTTP_SESSION_VARS["Crumbs"][0] = "1"; $HTTP_SESSION_VARS["Crumbs"][1] = "2"; foreach ($HTTP_SESSION_VARS["Crumbs"] as $k => $v) { echo "$v ->"; } Regards, Johnny Nguyen

« previous php.general (#68591) next »