MCImageManager:Configuration/SessionAuthenticator.rootpath key

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: SessionAuthenticator.rootpath_key

This option enables you specify what session key to grab the filesystem.rootpath from.

Example of usage in the config.php file

$mcImageManagerConfig['SessionAuthenticator.rootpath_key'] = "MyPath";

Example of usage in the Web.Config file

<add key="SessionAuthenticator.rootpath_key" value="MyPath" />

Example on how to set the session in PHP

$_SESSION['MyPath'] = '/some/root/path';

Example on how to set the session in ASPX

Session("MyPath") = "/some/root/path";
Personal tools