Persistent flag in memory

From: Date: Thu, 11 Feb 2010 04:37:39 +0000
Subject: Persistent flag in memory
Groups: php.general 
Request: Send a blank email to php-general+get-301975@lists.php.net to get a copy of this message
Good day, May I ask you, gurus, whether it is possible to set a flag in PHP that persists for the duration of the server being switched on? If the server would be power cycled, the flag would be off. Similarly if the web server would be restarted the flag would be off also. I do realize that such a thing would be possible to be done in MySQL by using a table with flags in memory: CREATE TABLE IF NOT EXISTS timer (flag int) ENGINE = MEMORY; But is this also possible in PHP? Thanks for any help, Teus Benschop

« previous php.general (#301975) next »