[pmwiki-users] Automatic Field-specific Cookie Prefix

H. Fox haganfox at users.sourceforge.net
Wed Jan 18 18:29:06 CST 2006


This line in each field's config.php will guarantee a unique
$CookiePrefix string for each field in a farm:

   $CookiePrefix = substr($tmp = md5(__FILE__), 0, 5).'_';

I tried to use something similar in the Light Skin's light.php script,
but you can't set $CookiePrefix in skin.php for some reason...

Hagan




More information about the pmwiki-users mailing list