:py:mod:`core.render.html.env.session` ====================================== .. py:module:: core.render.html.env.session Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: core.render.html.env.session.getSession core.render.html.env.session.setSession .. py:function:: getSession(render) Jinja2 global: Allows templates to store variables server-side inside the session. Note: This is done in a separated part of the session for security reasons. :returns: A dictionary of session variables. .. py:function:: setSession(render, name, value) Jinja2 global: Allows templates to store variables on server-side inside the session. Note: This is done in a separated part of the session for security reasons. :param render: The html-renderer instance. :param name: Name of the key :param value: Value to store with name.