我是用这种方法添加 tab的
 function addTab(strId,strTitle,strURL,isClosable,HighlightsId,treeSouce){
     var existTab = tabs.getItem(strId);
     if(existTab&&existTab.getId()==strId){
     tabs.activate(strId);
     }else{
      if(jeton_open_total>=jeton_open_max){
    
     deleTab();
      }
      tabs.add({
         id:strId,
            title: strTitle,
            autoWidth:true,
            iconCls: 'tabs',
            html: '<iframe width="100%" height="100%" frameborder="0"  src="'+strURL+'"></iframe>',
            closable:isClosable,
            highlightsId:HighlightsId,
            treeSouce:treeSouce
        }).show();
     }
       
    }
    
    //delete tab
    function deleTab(){
     //alert((tabs.getActiveTab()).getId());
     if((tabs.getActiveTab()).closable){
     tabs.remove(tabs.getActiveTab(),true);
     }
    }问题如下:
在打开tab的时候,tab中的页面每个5分钟刷新一次,因此无论过多久都不会出现超时的问题
但是如果将tab打开后关闭,过1个小时后再打开的时候,tab中的页面就会超时,关闭后再次打开仍然超时
现在不知道哪里出了问题个人怀疑,是不是第一次打开tab的时候 页面读取cookie信息,在关闭后再次打开时候并没有读取新的cookie信息
始终读取的是第一次的cookie (1小时候第一次的cookie已经超时),所以以后都会出现超时问题?希望高手帮助。