core.render.html.env.session

Module Contents

Functions

getSession(render)

Jinja2 global: Allows templates to store variables server-side inside the session.

setSession(render, name, value)

Jinja2 global: Allows templates to store variables on server-side inside the session.

core.render.html.env.session.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.

Parameters:

render (core.render.html.default.Render) –

Return type:

dict

core.render.html.env.session.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.

Parameters:
Return type:

None