Use Ajax with Jquery in PHP to check Session Expired

Php

Video is ready, Click Here to View ×


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 – http://www.webslesson.info/2016/03/use-ajax-with-jquery-in-php-to-check-session-expired.html

11 thoughts on “Use Ajax with Jquery in PHP to check Session Expired

  1. 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

  2. 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

Leave a Reply

Your email address will not be published. Required fields are marked *