1.2.1070. Session Variables

Sessions names, used across the application.

<?php

if (isset($_SESSION['mySessionVariable'])) {
    $_SESSION['mySessionVariable']['counter']++;
} else {
    $_SESSION['mySessionVariable'] = array('counter'  => 1,
                                           'creation' => time());
}

?>

See also Sessions.

1.2.1070.1. Specs

Short name

Php/SessionVariables

Rulesets

All, Changed Behavior, Inventory

Exakat since

0.12.16

PHP Version

All

Severity

Time To Fix

Precision

Very high

Features

session

Available in

Entreprise Edition, Exakat Cloud