reading flask.session with angularjs
问题 Is there a way to access something in session set with flask.session from angular.js on the client side? I am trying to pass data and store to session in the same call from flask and be able to read it from angular later on in the flow. I am not using the templating system. For the pages, I am only serving up the index file and then using Angular to do the rest. This is my call for the index file: @app.route("/") def index(): return make_response(open('templates/index.html').read()) 回答1: If