Re: sessions???

From: Date: Thu, 10 Jan 2002 13:57:56 +0000
Subject: Re: sessions???
Groups: php.windows 
Request: Send a blank email to php-windows+get-11375@lists.php.net to get a copy of this message
Possible that because session_name is a function it puking on the $session_name variable you're trying to create. Another note is this: $$session_name = "test"; Maybe I'm on crack but didn't you mean: &$session_name = "test"; Also... why did you try setting $session_name twice? Once to 'sessiontest' and once to 'test'? Did you mean "$sessiontest"?
Hi, This works fine: <?php $sessiontest = "test"; session_start(); session_register('sessiontest'); ?> But way does this not work??? <?php $session_name = "sessiontest"; $$session_name = "test"; session_start(); session_register($session_name); ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com

« previous php.windows (#11375) next »