python flask login information | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

python flask login information

I am trying to do a login based web application using flask and sqlite3. I had created the routes and the database. Now I am wondering how can I check if the user is logged in and how can I restrict a user that is not connected. Is there a specific way to do it? - here is the file - and here the

9th Nov 2020, 9:14 PM
tibi - avatar
1 Answer
Use session in flask to create and fetch cookies from browser Take a "Flask Session" tutorial from YouTube
11th Nov 2020, 3:27 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar