React Security - Set a Session on Login and Signup

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 18

  • @ts8960
    @ts8960 2 роки тому

    this course looks very high quality, will check it out. thank you for actually zooming in so i can see the code side by side on my small laptop :)

  • @pranjaldoorwar9743
    @pranjaldoorwar9743 4 роки тому +1

    Amazing tutorial 😍

  • @zarghamaijaz5933
    @zarghamaijaz5933 3 роки тому

    So helpful. Thank you 💙

  • @contactdi8426
    @contactdi8426 2 роки тому

    Thanks a lot, but do you have idea that you haven't mentioned the previous videos for this section that one should refer to as I came directly to this video and I have no idea where shall I manage previous steps for session, hence unable to follow-up

    • @holodeck_run
      @holodeck_run  2 роки тому +2

      Hi! Thanks for the feedback. Here's the full playlist: ua-cam.com/play/PLlRapu2ErjJ-qSQT9fhh3wdgLU8nynzeN.html

    • @contactdi8426
      @contactdi8426 2 роки тому

      @@holodeck_run Thanks Ryan. Anyway I found all these videos and binged watched and learned so much from all these. Frankly speaking, you quick videos taught me so much that I haven't learned from hour long videos of others.

    • @holodeck_run
      @holodeck_run  2 роки тому +1

      @@contactdi8426 Glad to hear it!

  • @shanthinimichael5246
    @shanthinimichael5246 Рік тому

    Hi, For production how to use the session? Please help me. Thanks in advance.

    • @holodeck_run
      @holodeck_run  Рік тому

      I'd recommend something like Redis for persisting sessions in prod 👍

  • @vigneshk3782
    @vigneshk3782 2 роки тому

    Can you help me set a session for an application

  • @muhamadsobari6515
    @muhamadsobari6515 4 роки тому

    Thankeww for knowledge😊

  • @vigneshk3782
    @vigneshk3782 2 роки тому

    Hi, Can you post the source code for this tutorial

    • @holodeck_run
      @holodeck_run  2 роки тому

      Sure thing, here it is: github.com/chenkie/orbit

    • @vigneshk3782
      @vigneshk3782 2 роки тому

      ​@@holodeck_run Thank you

  • @jaakkouusitalo1094
    @jaakkouusitalo1094 2 роки тому

    Why the hell my production level server would restart daily or crash? What a stupid thing to say. User session on frontend changes frequently but backend server should stay as stable as it can.

    • @holodeck_run
      @holodeck_run  2 роки тому +1

      Your server might be free from crash-inducing error paths but your hosting provider might still restart your server for you. Many hosting providers tell you to treat your servers as completely stateless and ephemeral since they may need to do any number of things in the underlying architecture without you knowing. A good example is Heroku: they automatically restart all their servers daily and you can't do anything to shut that off.
      It's part of a wider trend in web servers/deployment architectures. Best to think of servers as something that come and go and not keep any state there.

    • @jj.alex0616
      @jj.alex0616 Рік тому

      @@holodeck_run how would we then have a session persist after a resetting your back-end server?

    • @holodeck_run
      @holodeck_run  Рік тому +1

      @@jj.alex0616 sessions should be persisted with some kind of key-value store like Redis or something similar. Since that service will run independently of your backend, a server restart for your app server won't affect sessions. This is how it's done with most session-based auth services.