Build high-quality PHP applications faster with the Zend developer solutions - Zend Framework, Zend Studio and Zend Server. Build up your skills with PHP and Zend Framework training and certification.
<?php // Use of session_register() is deprecated $barney = "A big purple dinosaur."; session_register("barney"); // Use of $_SESSION is preferred, as of PHP 4.1.0 $_SESSION["zim"] = "An invader from another planet."; // The old way was to use $HTTP_SESSION_VARS $HTTP_SESSION_VARS["spongebob"] = "He's got square pants."; ?>