借用COOKIES设置标志
因为用IE的回退时,IE将调用缓存的中数据,所以取COOKIE的时机必须放在客户端用JAVASCRIPT角本实现。
实现方法详见右侧处理CODE 

function getCookie (sCookieName)
{
    var sName=sCookieName+"=", ichSt, ichEnd;
    var sCookie=document.cookie;
    if ( sCookie.length && ( -1 != (ichSt = sCookie.indexOf(sName)) ) )
    {
        if (-1 == ( ichEnd = sCookie.indexOf(";",ichSt+sName.length) ) )
            ichEnd = sCookie.length;
        return unescape(sCookie.substring(ichSt+sName.length,ichEnd));
    }   
    return null;
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2022-02-01
  • 2022-01-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-01-04
  • 2021-12-14
  • 2021-10-19
相关资源
相似解决方案