Re: SESSION problem

From: Date: Sat, 16 Aug 2008 11:36:01 +0000
Subject: Re: SESSION problem
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-278216@lists.php.net to get a copy of this message
At 8:02 PM -0700 8/15/08, VamVan wrote:
Tedd, I think according to PHP manual. Session_start() must be the first line in the code. Dont worry it will remember your session until you close the browser and also it wont duplicate it.
VamVan: Yes, I thought that as well and practiced it for years, but that's not true -- read the manual. In any event, that's not the problem here. The problem here is can I use a variable within a $_SESSION[] declaration? Like so: $_SESSION[$var] Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#278216) next »