PHP Auto Session Timeout. Learn How to? (English)

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

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

  • @flemethwow9273
    @flemethwow9273 4 ปีที่แล้ว

    this is great video mate, thank u very much

  • @arshadhussain39
    @arshadhussain39 8 ปีที่แล้ว +1

    good tutorial, but i suggest you that whenever you write a single line of code show the result in front end.
    What you have done is that you created all codes once and then you run the program that is not a good approach to teach.
    Well, i like your video. keep on

    • @assadullahch1960
      @assadullahch1960  8 ปีที่แล้ว

      Actually the guy who requested this video was an intermediate developer and he wanted the video tutorial the way it is. If you are at basic level then i would recommend you to watch my recently uploaded video series related to PHP5 & MySQLi. That video is detailed.
      Thanks for your feedback.

    • @arshadhussain39
      @arshadhussain39 8 ปีที่แล้ว

      Oh, then it if fine.
      I was just saying this for the sake of you so that more visitor may come to watch this video.
      and sir, I am not at basic level of developer.
      :)

  • @haseebahmed3262
    @haseebahmed3262 7 ปีที่แล้ว +1

    Assad Brother please spare some time to making a video on $_SERVER in PHP briefed. That would be really appreciated. You are doing really great work

  • @salem7166
    @salem7166 8 ปีที่แล้ว

    well done Mr. AssadUllahCh

  • @sabirkamran9712
    @sabirkamran9712 7 ปีที่แล้ว +1

    nice sir

  • @sunilreddy814
    @sunilreddy814 6 ปีที่แล้ว +1

    Thank you!

  • @FRIENDSofCAP
    @FRIENDSofCAP 7 ปีที่แล้ว

    Hello Assad, I am not quite finished viewing this tutorial, but saw at the bottom of the view swindow some sort of Editing software ou are using and is positioned below the browser window. What is that software? I like how it adjusts the CSS layout of the PHP page as ou are writing the values in the editor. Please tell me, what is the editor software and where can I obtain it too? Thanks
    Thanks. Tim

    • @assadullahch1960
      @assadullahch1960  7 ปีที่แล้ว

      Hi Tim. I used developer tools in this video. Developer tools are part of every browser. You don't need to install them explicitly. They come up with browser's default installation.
      Here's a sweet video to learn more about these tools. th-cam.com/video/nV9PLPFTnkE/w-d-xo.html
      Cheers!!

    • @FRIENDSofCAP
      @FRIENDSofCAP 7 ปีที่แล้ว

      Assad, I am well versed in development tools as I have been programming since 1994. I was hoping for a more specific answer from what you were using during the video. What browser / versio of browser and more specifically, what was the tool or plugin you were using when doing the CSS? Thanks... Tim

    • @assadullahch1960
      @assadullahch1960  7 ปีที่แล้ว

      Tim i don't use extra plugins or tools since browser developer tools are sufficient for me. I open my CSS file (whichever i want to edit) in browser tools. This way i don't need to refresh my browser myself over and over again while writing few CSS rules. The styles apply instantly as soon as i type them. You can either use Mozilla Firefox or Google Chrome. I uploaded this video on Jul 27, 2015 and i keep my browsers updated all the time.
      In Mozilla Firefox press F12 on your keyboard and select Style Editor tab in developer tools.
      In Google Chrome press F12 on your keyboard and select Sources and then press CTRL+P and select the CSS file that you want to edit.

  • @RajeshSriMuthu
    @RajeshSriMuthu 5 ปีที่แล้ว +1

    can't we use gc_maxlifetime to set expire time of the session?

    • @assadullahch1960
      @assadullahch1960  5 ปีที่แล้ว +1

      gc_maxlifetime has totally different meaning as compared to this tutorial. This tutorial is about how to auto timeout session if the user stays IDLE otherwise the session keeps getting updated with a new life time

  • @mr.roulette7537
    @mr.roulette7537 5 ปีที่แล้ว +1

    What if user close browser?

    • @assadullahch1960
      @assadullahch1960  5 ปีที่แล้ว

      then session duration will not be updated and the session will be expired.

  • @haseebahmed3262
    @haseebahmed3262 7 ปีที่แล้ว +1

    here I request another Video
    Like a session expires on no activity for 5 minutes like on bank sites.
    how do they do that ?

    • @assadullahch1960
      @assadullahch1960  7 ปีที่แล้ว +1

      You can use the same logic for that purpose which i explained in the video.