Last updated at 12:38 am
Hello, '+data+'
'); //session extend only for non protected pages $(".ldap_iframe").html(""); } else { //get remember cookie var ldap_remember = getCookie("ldap_remember"); if(ldap_remember == "enable") { //check if user logout sucessfully before. if no counter found, proceed var ldap_remember_counter = getCookie("ldap_remember_counter"); if(typeof ldap_remember_counter === "undefined") { //once redirect create counter cookies to prevent for infinite looping createCookie("ldap_remember_counter","enable",24); window.top.location.href = "http://www.straitstimes.com/ldap/regen.php?goto=/breaking-news/sports/story/football-dunne-deal-queens-park-rangers-sign-former-aston-villa-defender-"; } else { //logout not clean up eraseCookie("ldap_remember"); eraseCookie("ldap_remember_counter"); $('#header_ajax').html('Tuesday, 16 July 2013Tue, 16 July 2013
Last updated at 12:38 am
'); } } else { $('#header_ajax').html('Tuesday, 16 July 2013Tue, 16 July 2013
Last updated at 12:38 am
'); } } }, error:function(xhr, status, error) { var ldap_remember = getCookie("ldap_remember"); if(ldap_remember == "enable") { var ldap_remember_counter = getCookie("ldap_remember_counter"); if(typeof ldap_remember_counter === "undefined") { createCookie("ldap_remember_counter","enable",24); window.top.location.href = "http://www.straitstimes.com/ldap/regen.php?goto=/breaking-news/sports/story/football-dunne-deal-queens-park-rangers-sign-former-aston-villa-defender-"; } else { eraseCookie("ldap_remember"); eraseCookie("ldap_remember_counter"); $('#header_ajax').html('Tuesday, 16 July 2013Tue, 16 July 2013
Last updated at 12:38 am
'); } } else { $('#header_ajax').html('Tuesday, 16 July 2013Tue, 16 July 2013
Last updated at 12:38 am
'); } } }); }); function eraseCookie(name) { createCookie(name,"",-1); } function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function getCookie(c_name) { var i,x,y,ARRcookies=document.cookie.split(";"); for (i=0;imarbury v. madison 2013 lincoln mkz burger king mary j blige google project glass google goggles one tree hill projectglass
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.