Questions tagged [flask-kvsession]
6 questions
4
votes
1 answer
Why does Flask-Security Cause a new KVSession Record for Each Request?
I'm trying out using Flask-KVSession as an alternative session implementation for a Flask web site. I've created a test website (see Code 1 below). When I run this, I can use the browser to store values into the session by navigating between the…

Mark Hildreth
- 42,023
- 11
- 120
- 109
3
votes
0 answers
Overriding Flask Extensions Classes
What is the preferred method of overriding a Flask Extension's Class inside your app.
e.g.
Using FlaskKvSession: https://github.com/mbr/flask-kvsession/blob/master/flaskext/kvsession.py
How would your override SessionID(object):init(self, id,…

Null
- 31
- 3
2
votes
0 answers
EOFError in Flask-KVSession 0.6.2
I am using Flask-KVSession (version 0.6.2). It does what it has to do. But when there are consecutive requests to webserver, following exception is repeated like a flood.
2016-06-10_05:41:58.97125 2016-06-10 05:41:58 [29567] [ERROR] Error handling…

ln2khanal
- 949
- 1
- 8
- 16
1
vote
1 answer
How to delete a particular key(for current session) from Flask-KVSession?
I am using Flask kvsession to avoid replay attacks, as the client side cookie based session used by Flask-login are prone to it.
Eg: If on /index page your cookie in the header is set for your app header like
myapp_session : 'value1'
and if you…

ramu
- 1,325
- 2
- 17
- 25
0
votes
1 answer
Catch Flask-KVSession timeout
I need to be able to log when Flask-KVSession sessions time out. Is there a easy way to catch session timeouts and log when they occur?

calk93
- 109
- 1
- 1
- 4
-1
votes
1 answer
set time to live for each session separately KVsession flask
KBsession stores the session TTL based on PERMANENT_SESSION_LIFETIME is there a way to override this for specific sessions
EDIT:
so I have two different API for login I need to give any user login from one of them an infinite session TTL, the other…

Zaid Direya
- 611
- 2
- 8
- 19