Parameters
$name - The session value name.
$value - The session value.
Returns
The session value.
Syntax
PHP |
public static function SetSessionValue(string $name, $value)
|
Assigns a session value and returns the value. (E)
Example
PHP |
$webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
require_once "$webCommonPath/LJCCommonLib.php";
// $dbServer = "localhost"
$dbServer = LJCCommon::SetSessionValue("dbServer", "localhost");
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.