Monday, March 26, 2007, 3:38:26 PM, Patrick wrote: > According to the PHP docs[1], session_register() works only when > register_globals > is enabled (and it's highly recommended that register_globals be disabled). > The page further goes on to caution that if a script uses $_SESSION (which > PmWiki definitely uses), then don't use session_register().
> To be honest, I didn't even realize that session_register() existed, which > is why I had to go look it up. :-) I am using the following now inside a function, in order to be able to access the var later after a redirect. Using a custom EditTemplate function I can feed the var into the edit window for ?action=edit. I seem to have to use session_start() ? # get the processed post into a session variable @session_start(); $_SESSION["FoxTempPageText"] = FoxTemplateEngine($targetname, $fields, '', $id); Hans _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users