Html – How can I check if a value is inside a session in Flask and Jinja?
I want to check if a value, for example the 'name' value, exists in a session in a Flask application I made, but it's not working. Python: @app.route("/add/<string: name>") def add(name): session["list"].append(name) return "Successful" @app.route("/list def list(): cursor=mysql.connection.cursor() query="Select *…