Use Ajax with Jquery in PHP to check Session Expired

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • When user open website in multiple tab and he logout from one table and website open other tab. So We want to display alert message with "Your Session has been expired" in that tab where website is open. This things are learn into this php video tutorial. Source Code - www.webslesson....

КОМЕНТАРІ • 17

  • @harjotbhatia8302
    @harjotbhatia8302 8 років тому

    Nice video !
    I've 2 things to point out
    1. Ajax request every 10 second would put quite load on the server and should not be used for practical purpose
    2. Handling session details to jQuery is unreliable and not secure as the code can be altered on the console.Using cookies would be a better choice

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

    Thanks buddy!!

  • @johnmartin2341
    @johnmartin2341 8 років тому

    Nice Video tutorial Bro!

  • @joshuambewe5932
    @joshuambewe5932 5 років тому

    this is a good video.. but may you also make a video on how to use jquery to get session variable from php script and redirect to a home page with the same session variable.. thank you

  • @aligokhanemiroglu6406
    @aligokhanemiroglu6406 6 років тому

    Yo are doing a great job ..can you plase make a video about how to use associative arryas on a sample program.I mean a real life example

  • @huseyincamci
    @huseyincamci 8 років тому

    Great video, man! Please Can you make a video about making online user counter in php?

    • @webslesson
      @webslesson  8 років тому

      +Hüseyin Çamcı Thanks for your appriciation. I will make this type of video.

  • @aerotheoreo2050
    @aerotheoreo2050 8 років тому

    I am having trouble getting the alert prompt to work. I can logout. However no prompt is displayed.

  • @naidum.krishnakumar7665
    @naidum.krishnakumar7665 6 років тому

    Tks

  • @srinivassagit2573
    @srinivassagit2573 5 років тому

    I created a login form entirely in html and i validated the form using jquery validation plugin and submit the form using ajax to check the user and to start the session. But its not working how to solve it? Please post a video to handle this situation! Files to understand
    1.login.html
    2.loginvalidation.js
    3.logincheck.php
    Now how can i check the correct user and redirect to welcome page with sesstion got by the ajax as a response from logincheck.php?

  • @VINODSINGH-yc1pu
    @VINODSINGH-yc1pu 4 роки тому

    How to change session timeout ?
    And then check if user session exist or not.

  • @dangelgeek
    @dangelgeek 6 років тому

    Excellente, tutorials node please

  • @moimoi-rt4jw
    @moimoi-rt4jw 5 років тому

    hi do you give me script Use Ajax with Jquery in PHP to check Session not Expired

  • @user-mfsc-2024
    @user-mfsc-2024 8 років тому

    script can put outside html tag ?

    • @sahujiofficial7834
      @sahujiofficial7834 5 років тому

      You can make .js file and include it inside head tag

  • @crisvc20
    @crisvc20 6 років тому

    No funciona.. No refresh msge..

  • @harjotbhatia8302
    @harjotbhatia8302 8 років тому

    Nice video !
    I've 2 things to point out
    1. Ajax request every 10 second would put quite load on the server and should not be used for practical purpose
    2. Handling session details to jQuery is unreliable and not secure as the code can be altered on the console.Using cookies would be a better choice