python flask login information | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

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? https://code.sololearn.com/cOgIJLHrEAFK/#py - here is the login.py file https://code.sololearn.com/cqizFmjKqM8R/#py - and here the app.py

9th Nov 2020, 9:14 PM
tibi
tibi - avatar
1 Resposta
0
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