NAMESPACE: Bootstrap/Models

Models/Session.php

public function setRoute($route,$persist_route,$actionid)

Save route to session

variable

$route
$persist_route
$actionid
public function sessionSetArray($array)

Save an array in session storage

variable

$array
public function sessionSet($key,$value,$force)

Save key value pair in session

parameters

$force allows setting the value even if its a cache request from client

variable

$key
$value
$force
public function sessionGet($key)

Retrieve value from session by key

variable

$key
public function sessionUnset($key)

Unset a session variable

variable

$key