Session and Cookies explained with Python Flask Server

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 2024
  • Blog post - nagasudhir.blogspot.com/2023/...
    Flask Playlist - • Flask Web development ...
    Sub mounting a flask application under a URL prefix - • Submount flask applica...
    IIS as a reverse proxy for python flask application - • IIS as a reverse proxy...
    Run a python Flask server as a windows background service using nssm - • Python Flask server as...
    Waitress as Flask server WSGI - • Waitress as Flask serv...
    In this video, we will understand what are Cookies and Sessions and implement them in python flask web application.
    We will also implement server-side sessions in flask application unlike the flask's default cookie-based session storage.
    Table of contents - nagasudhir.blogspot.com/2020/...
    Please subscribe, like and share this video
    00:00 - Intro
    00:25 - Why use Sessions and Cookies
    01:19 - Cookies explained
    02:34 - Cookies implementation in Flask
    06:05 - Sessions explained
    07:55 - Sessions implementation in Flask
    11:07 - Default Flask cookie based sessions
    13:34 - Flask-Session python module for server side sessions
    16:05 - Outro
    #sessions #cookies #flask #server #web #dev #tutorial #learning #beginners #pythonforbeginners #taming_python
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11

  • @jeremyngpiano
    @jeremyngpiano 6 หลายเดือนก่อน +1

    Your explanation of what goes on under the hood in dev tools was really helpful, thanks!

  • @uwayojacques317
    @uwayojacques317 9 หลายเดือนก่อน +3

    Nice explanation. Thanks a lot for giving free knowledge ❤

  • @bjorneriksson1276
    @bjorneriksson1276 8 หลายเดือนก่อน +1

    Thank you! This was really helpful 🙏

    • @learningsoftwareskills
      @learningsoftwareskills  8 หลายเดือนก่อน

      Hi, i am happy that this content helped you, cheers👍

  • @jagadeesharg4012
    @jagadeesharg4012 5 หลายเดือนก่อน +1

    Clear and concise.. can you please make a video on how to authenticate users using oauth services and persist their data on some DB like sqllite

    • @learningsoftwareskills
      @learningsoftwareskills  5 หลายเดือนก่อน

      Hi, I have already made a video on how to use an OAuth 2.0 server to authenticate flask users in th-cam.com/video/K7aC4nZEepk/w-d-xo.html
      But there we do not persist the users in a local database. We completely depend on the OAuth server for user info.
      I will try to make a video on storing users locally also in the future
      Thanks for the suggestion, cheers👍

  • @lio7652
    @lio7652 8 หลายเดือนก่อน +1

    Great video! Could make video about cookies and sessions but in FastAPI?

    • @learningsoftwareskills
      @learningsoftwareskills  8 หลายเดือนก่อน +1

      Hi, thanks for your feedback. I will try. Cheers 👍

    • @lio7652
      @lio7652 8 หลายเดือนก่อน

      @@learningsoftwareskills thank you 😊 I am looking forward to 😁