Re: Are variables persistent?

From: Date: Mon, 16 Feb 2004 21:40:58 +0000
Subject: Re: Are variables persistent?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177864@lists.php.net to get a copy of this message
Jay Blanchard wrote:
What would cause a variable or even a $POST[] value to be erased? [/snip] Refreshing the script causes the variable arrays to be repopulated with empty or blank variables unless a session was used to hold the variables. Refreshing is essentially calling the script without passing any variables.
Ah ha! <whew> So... $_REQUEST is the only way to go without getting into sessions? Hidden or other form methods will not work with out sessions, I guess. Damn, I wish I knew that four hours ago! : - ) I thought I didn't want to clutter the URL this time so I'd try that. Ha!

« previous php.general (#177864) next »