note 13236 deleted from function.session-start by jimw

From: Date: Fri, 07 Dec 2001 20:26:59 +0000
Subject: note 13236 deleted from function.session-start by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21912@lists.php.net to get a copy of this message
I've got mails from fellow developers regarding passing of session variables, here i am giving a short intro of how to go abt it. =============================== <? session_start(); #start the session ?> <a href="next.php?sessionid=<?=session_id();?>">next.php</a><br /> <? echo session_id(); # prints the current session_id ?> alternatively u can use the PHPSESSID for getting the id of current session like this: <a href="next.php?sessionid=<?=$PHPSESSID;?>">next.php</a><br /> ===================================== Hope this helps Happy coding Shobhan :)

« previous php.notes (#21912) next »