note 15356 added to function.apache-note

From: Date: Thu, 06 Sep 2001 16:25:46 +0000
Subject: note 15356 added to function.apache-note
Groups: php.notes 
Request: Send a blank email to php-notes+get-17731@lists.php.net to get a copy of this message
Used this with mod_layout... very handy. :) Used my PHP code in my header to check session variables and validate the session. If the session is not valid, I use apache_note to tell mod_layout not to display the content page or the footer, just the error page I generate in the header page. Note: successive calls to apache_note with the same KEY overwrite the VALUE. Ie: apache_note("LAYOUT","originoff"); apache_note("LAYOUT","footeroff"); Will only send the last note. You need to do something like: apache_note("LAYOUT","originoff"); apache_note("LAYOUT-2","footeroff"); To get both variables through. How you retrieve this is obviously up to the module receiving notes, of course... --Nathan http://www.php.net/manual/en/function.apache-note.php

« previous php.notes (#17731) next »