Note Submitter: nathan at thelinuxcommunity dot org
----
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.