Fix in sessions

This commit is contained in:
Antonio de la Rosa 2018-12-04 19:46:41 +01:00
parent 7cedf82915
commit 63e091221e

View file

@ -176,7 +176,7 @@ else:
s={'token': token} s={'token': token}
response.set_cookie(config.cookie_name, token, path=config.session_opts['session.path'], max_age=max_age) response.set_cookie(config.cookie_name, token, path=config.session_opts['session.path'])
#Set-Cookie: phango_session=n2ro4lghim75p8vjseb5v3lhap; path=/experiment2/ #Set-Cookie: phango_session=n2ro4lghim75p8vjseb5v3lhap; path=/experiment2/
#response.set_header('Set-Cookie', '%s=%s; path=%s' % (config.cookie_name, token, config.session_opts['session.path']) ) #response.set_header('Set-Cookie', '%s=%s; path=%s' % (config.cookie_name, token, config.session_opts['session.path']) )