You are here

public function FrxReportGenerator::clear_session in Forena Reports 7.2

Same name and namespace in other branches
  1. 6.2 FrxReportGenerator.inc \FrxReportGenerator::clear_session()
  2. 7.3 FrxReportGenerator.inc \FrxReportGenerator::clear_session()
  3. 7.4 FrxReportGenerator.inc \FrxReportGenerator::clear_session()

Clear session data because we want to reload.

File

./FrxReportGenerator.inc, line 137
Common functions used throughout the project but loaded in this file to keep the module file lean.

Class

FrxReportGenerator

Code

public function clear_session() {
  if (isset($_SESSION['forena_access'])) {
    unset($_SESSION['forena_access']);
  }
}