note 10042 added to session_start

From: Date: Sat, 09 Dec 2000 09:29:17 +0000
Subject: note 10042 added to session_start
Groups: php.notes 
Request: Send a blank email to php-notes+get-8544@lists.php.net to get a copy of this message
i am just trying to create a session and propagating the session id thru my url. i have registered a variable in my first script where i am starting a session but i am not able to use that variable in my next script if any one knows please let me know where i am lacking my scripts are as follows first script(ses1.php3) ----------- <? session_start(); session_register("name"); $name="gpesa"; echo "<a href=ses2.php?=$SID>Next Script</a>"; ?> Second script(ses2.php) ---------------------- <? echo "$name"; ?> but it is not giving any output. http://www.php.net/manual/function.session-start.php

« previous php.notes (#8544) next »