MCImageManager:Configuration/SessionAuthenticator.config prefix

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: SessionAuthenticator.config_prefix

This option enables override any config option from a session, the value of this option will be used as a prefix when it looks though the sessions for config options.

Example of session override in PHP

$_SESSION['imagemanager.filesystem.rootpath'] = '/some/root';

Example of session override in ASPX

Session["imagemanager.filesystem.rootpath"] = "/some/root";

Example of usage in the config.php file

$mcImageManagerConfig['SessionAuthenticator.config_prefix'] = "imagemanager";

Example of usage in the Web.Config file

<add key="SessionAuthenticator.config_prefix" value="imagemanager" />
Personal tools