Hello webapp2 folks,
I'm having difficulty overriding the default for cookie max age in sessions.
I'm not sure how I am supposed to go about it, but I am simply trying to change the value when I import the module like this..
from webapp2_extras import sessions
sessions.default_config['cookie_args']['max_age'] = 1209600
What is the correct way to do this? Does anybody else have any ideas about what I might be doing wrong?
I am using the session in conjunction with the auth module, as a part of Alex's gae-simple-auth.
Jay.