Sessions is a webapp2 module that can be used to store values that can be
To use session store you need to define secret_key first and initialize your
application with the secret_key.
Then at your WSGIApplication instance add the config parameter:
Then to use the session module you need to define a base handler that starts
the session store and save all session at the end of the request.
Then to store a value into session store, use a variable as a dictionary inside
and to retrieve the value of foo from session store use:
Putting it all together:
You can read more about sessions here.