0

Could someone tell me what I'm missing. I'm just calling a page with session_start(); session_destroy(); This works most of the time but sometimes it will redirect me with the sessions still working, so I'm still logged in.

$("#logOut").click(function() {
    $.get("http://heber/QC/includes/pinInput/sessionDestroy.php",{},function(data) {
        window.location.href = "http://heber/QC/";   
    })
})
Tim Allred
  • 59
  • 6

0 Answers0