this.session

October CMS Documentation Docs

this.session

You can access the current session manager via this.session and it returns the object Illuminate\Session\SessionManager current session configuration.

# Storing data in the session

___TWIG0___

# Retrieving data from the session

___TWIG0___

# Determining if an item exists in the session

___TWIG0___
    <h1>we found it in the session</h1>
___TWIG1___

# Deleting data from the session

# Remove data for a single key

___TWIG0___

# Remove all session data

___TWIG0___