Skip to content
Snippets Groups Projects
  1. Apr 27, 2018
    • Benjamin Bertrand's avatar
      Change Flask-Session redis_store config_prefix · a17dfd20
      Benjamin Bertrand authored
      The "REDIS_URL" variable is hard-coded in RQ Dashboard.
      
      REDIS_URL was used by redis_store that is passed to Flask Session.
      The url variable used by Flask-Redis can be changed by setting the
      config_prefix.
      
      1. Rename REDIS_URL to SESSION_REDIS_URL
      2. Rename redis_store to session_redis_store
      3. Use "SESSION_REDIS" config_prefix to initialize session_redis_store
      
      This makes it clear that this Redis instance is used by Flask-Session.
      REDIS_URL will be used for RQ.
      a17dfd20
  2. Feb 12, 2018
  3. Jan 02, 2018
  4. Dec 13, 2017
    • Benjamin Bertrand's avatar
      Add server side session using Flask-Session · d5d3530a
      Benjamin Bertrand authored
      In Flask, session data are stored in a cookie by default.
      Using a server side session, there is no risk of putting too much data
      in the session and transmissting a big cookie on every request
      (only an id is sent in the cookie).
      
      Redis is used as backend (without persistent storage).
      d5d3530a
  5. Nov 10, 2017
  6. Sep 21, 2017
  7. Jul 19, 2017
Loading