Code for sessions.

From: Date: Sun, 02 Jul 2000 09:23:30 +0000
Subject: Code for sessions.
Groups: php.general 
Request: Send a blank email to php-general+get-4343@lists.php.net to get a copy of this message
I'm trying to create a session for a user. what is wrong with the code below? <? session_start(); session_register("name"); session_register("age"); session_register("color"); ?> There's a form askin some stuff and when the user posts it - the values should be feeded in these above defined Session Variables. Than i should be able to fetch them whenever i want from the sessions. how do i do that? regards, T. Edison jr. ===== Rahul S. Johari (Director) ****************************************** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : abraxastech@yahoo.com Tel : 91-4546512/4522124 ******************************************* __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/

« previous php.general (#4343) next »