RE: [PHP] Are variables persistent?

From: Date: Mon, 16 Feb 2004 21:31:51 +0000
Subject: RE: [PHP] Are variables persistent?
Groups: php.general 
Request: Send a blank email to php-general+get-177862@lists.php.net to get a copy of this message
[snip] When I refresh a script using a form, it goes through & resets all my custom Constants but presumably all my variables should still hold their values from the last run, right? THere are no functions involved. 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.

« previous php.general (#177862) next »