Session Management in Laravel - Beyond the Basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

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

  • @jameshamann465
    @jameshamann465 3 ปีที่แล้ว +3

    Laracasts needs to hire you. They are missing a deep dive series like this that is in one place. All their "deep dives" are scattered around various videos and hard to find. Thanks so much!

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      Wow, thank you! Laracasts has been doing great work focusing on some deep topics lately. I recently published a series with them on Queues: laracasts.com/series/laravel-queue-mastery

    • @jameshamann465
      @jameshamann465 3 ปีที่แล้ว

      @@themsaid Thanks for the link!

  • @LukeDiebold
    @LukeDiebold 3 ปีที่แล้ว +1

    That session blocking feature is freaking awesome!!!
    Thanks Mohamed :)

  • @lekeabiodun4126
    @lekeabiodun4126 3 ปีที่แล้ว +2

    Good information, glad you shed more light on this.

    • @themsaid
      @themsaid  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @kmike8353
    @kmike8353 2 ปีที่แล้ว

    And finally i understand about the sessions beyond storing emails nice video

  • @ajithlal1688
    @ajithlal1688 3 ปีที่แล้ว +2

    How will we use sessions for frontend separate applications. Means, how will I manage if my frontend is in nuxt and laravel as api?

    • @themsaid
      @themsaid  3 ปีที่แล้ว +2

      Host the frontend on a subdomain or the app on subdomain and make the session cookie available for all subdomains as explained in the video.

    • @ajithlal1688
      @ajithlal1688 3 ปีที่แล้ว

      @@themsaid In that scenario do we need to change the same_site property to null or none?

    • @themsaid
      @themsaid  3 ปีที่แล้ว +1

      @@ajithlal1688 No, keep it as "lax".

  • @aleksdeveloper698
    @aleksdeveloper698 3 ปีที่แล้ว

    Love the door stopper.

  • @noumanshoaib979
    @noumanshoaib979 3 ปีที่แล้ว +2

    Thank you, please can you do some video on microservices with laravel.

  • @lotfyk947
    @lotfyk947 6 หลายเดือนก่อน

    عظمة على عظمة يقلبي

  • @elkhanhamet2561
    @elkhanhamet2561 3 ปีที่แล้ว +2

    What an amazing explanation!!! Thank you Mohamed!!!

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      Glad you like it 🙂

  • @mohamedalaa2104
    @mohamedalaa2104 2 ปีที่แล้ว

    Hey Mohamed!
    Can i ask you about your ikea chair?
    Is it markus or jarvfjallet?
    and what is your review about it?

  • @blake5226
    @blake5226 3 ปีที่แล้ว

    Great video covering a lot of basics regarding sessions in Laravel.

  • @ashganmustafa9031
    @ashganmustafa9031 3 ปีที่แล้ว

    Informative and clear ,
    Thanks for the great job

  • @periyarajas3641
    @periyarajas3641 9 หลายเดือนก่อน

    Help me i had doubt , i login using auth: attempt but the auth user is not working in dashboard controller so it is keep on redirecting to the login page. even auth is not working in different function of login controller .

  • @i74ifa
    @i74ifa ปีที่แล้ว

    Can i store user_type like morph relationship? In session database driver

  • @ahmadsaeed615
    @ahmadsaeed615 3 ปีที่แล้ว

    Thanks for useful information about session. I have one question regarding workers is laravel use new processes or thread for every request?

  • @HussamAdil
    @HussamAdil 3 ปีที่แล้ว

    Why we don't need to start a session in Laravel like pure php ??

  • @tusharnain6652
    @tusharnain6652 ปีที่แล้ว

    how to change the default seesion cookie name in laravel??

  • @asifm3520
    @asifm3520 3 ปีที่แล้ว

    Excellent information. Keep it up.

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      Thanks a lot

  • @bevedel
    @bevedel 3 ปีที่แล้ว +1

    Thanks a lot Sir. if possible please more content about session flash attributes and old-new state in this concept.

  • @osamaabdullah9444
    @osamaabdullah9444 2 ปีที่แล้ว +1

    thank you a lot for your explanations we appreciate your help

  • @montser1994
    @montser1994 3 ปีที่แล้ว

    Cool video
    My question is did you make other episode to explain laravel queues

  • @Ray-cn2ip
    @Ray-cn2ip 3 ปีที่แล้ว +1

    Thank you so much for your kind sharing, Mohamed

  • @abdullahX001
    @abdullahX001 3 ปีที่แล้ว

    Mohamed, what PHP course would you recommend?

    • @JohnnyBigodes
      @JohnnyBigodes 3 ปีที่แล้ว +1

      This is a great one... Have fun
      th-cam.com/play/PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-.html

    • @abdullahX001
      @abdullahX001 3 ปีที่แล้ว +1

      @@JohnnyBigodes thanks!

  • @QiroLab
    @QiroLab 3 ปีที่แล้ว

    Great explanation. Thanks a lot, Mohammed.

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      You're welcome :)

  • @hazemtuber
    @hazemtuber 3 ปีที่แล้ว

    Awesome Mohamed!
    I'm trying to make two Laravel applications to have same login session where if you login from app A, if u access app B, you should be logged in too..
    I've done the below..
    1- Same APP_KEY in .env file
    2- set SESSION_DRIVER=database in .env in app A
    3- set SESSION_DOMAIN=".my-app.test" in .env in app A
    but still not getting it to work properly .. your help is highly appreciated!

  • @thedhruvjoshi
    @thedhruvjoshi 3 ปีที่แล้ว

    The explanation method is great , thanks a lot

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      Welcome 😊 Glad you like it

  • @innocentmazando3808
    @innocentmazando3808 3 ปีที่แล้ว

    Thats some really deep staff

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      Glad you like it :)

  • @dirkk.6828
    @dirkk.6828 3 ปีที่แล้ว

    Hello,
    I am a big fan of your Kannal! Keep up the good work!
    I still have a question about Laravel: I have several external $_SESSIONs and would pass those to the in a Laravel session -> Session::put('example', $_SESSION['example'].
    Unfortunately I get the message that the variable $_SESSION was not defined.
    Do you have a tip for me?

  • @brianngetich007
    @brianngetich007 3 ปีที่แล้ว

    You are amazing....

  • @sourovahmad4053
    @sourovahmad4053 3 ปีที่แล้ว

    Hi mohamed,, you are my idol.. i try to watch Every video of yours. Can you please make a video that how laravel work. I mean behind the laravel. Im really really interested on it. Any article or video also will be good.. Thank you

  • @vladimirkozisck519
    @vladimirkozisck519 2 ปีที่แล้ว

    Thanks Mohamed, pls help me in something.... when i use a post request in jquery.... and my session expire... my aplication dont redirect to login... i dont know how manage this case... i want when i call a post request and my session was expire... redirect to login.... but is just in post because in a get request its ok.... Sorry for my english and thanks if u can help me please!

  • @mahmudulhasan1360
    @mahmudulhasan1360 3 ปีที่แล้ว

    thank you for your video, please keep it up.

    • @themsaid
      @themsaid  3 ปีที่แล้ว +1

      Thank you, I will :)

  • @vivamedia5958
    @vivamedia5958 3 ปีที่แล้ว

    Thank you so much.

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

    Thanks a lot

  • @joebarbaro6718
    @joebarbaro6718 3 ปีที่แล้ว

    Hi Mohamed
    I’m thinking of designing my own rep with laverel ,would you be interested in helping? Please let me know thanks

  • @mohamednabih6036
    @mohamednabih6036 3 ปีที่แล้ว +2

    It explained a lot , thank you very much.

    • @themsaid
      @themsaid  3 ปีที่แล้ว

      Glad it was helpful!