Keep Users Logged In with Sessions | Flask Tutorial for Beginners #6
Description: What are sessions in flask? And how do they work? 🤔
In this video, i will walk you through what sessions are, why there are important, how to create sessions in flask routes and maybe, share some tips for session management.
#pythonprogramming #flasktutorial #codingtutorial #python
Timestamps
00:00 Intro
00:56 What are sessions in flask?
01:33 Why do you need sessions?
03:00 Setting a secret key
05:01 Using sessions in flask routes
07:37 Saving user data with sessions
08:52 Tips for session management in Flask
10:00 Conclusion
Resources
Python-dotenv docs: https://pypi.org/project/python-dotenv/
🔥 Follow me and Subscribe for more Python tips:
Twitter: https://x.com/sophiairoegbu_
GitHub: https://github.com/Sophyia7/ Close description
In this video, i will walk you through what sessions are, why there are important, how to create sessions in flask routes and maybe, share some tips for session management.
#pythonprogramming #flasktutorial #codingtutorial #python
Timestamps
00:00 Intro
00:56 What are sessions in flask?
01:33 Why do you need sessions?
03:00 Setting a secret key
05:01 Using sessions in flask routes
07:37 Saving user data with sessions
08:52 Tips for session management in Flask
10:00 Conclusion
Resources
Python-dotenv docs: https://pypi.org/project/python-dotenv/
🔥 Follow me and Subscribe for more Python tips:
Twitter: https://x.com/sophiairoegbu_
GitHub: https://github.com/Sophyia7/ Close description
