Rev 8195 | Rev 8849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8195 | Rev 8342 | ||
---|---|---|---|
Line 97... | Line 97... | ||
97 | if(!hardcheck || strchr(session_name,'_')!=NULL) continue; |
97 | if(!hardcheck || strchr(session_name,'_')!=NULL) continue; |
98 | if(session_stat.st_mtime>=nowtime-idle_time3 && |
98 | if(session_stat.st_mtime>=nowtime-idle_time3 && |
99 | session_stat.st_mtime<nowtime+anti_time) continue; |
99 | session_stat.st_mtime<nowtime+anti_time) continue; |
100 | snprintf(fbuf,sizeof(fbuf),"%s/var.stat",session_name); |
100 | snprintf(fbuf,sizeof(fbuf),"%s/var.stat",session_name); |
101 | if(stat(fbuf,&fst)==0) continue; |
101 | if(stat(fbuf,&fst)==0) continue; |
102 |
|
102 | wlogdaccessfile(cbuf,"r","%s/var",session_name); |
103 | if(cbuf[0]==0) goto remove; /* no var file */ |
103 | if(cbuf[0]==0) goto remove; /* no var file */ |
104 | pp=strstr(cbuf,"\nw_wims_ismanager="); |
104 | pp=strstr(cbuf,"\nw_wims_ismanager="); |
105 | if(pp!=NULL) { |
105 | if(pp!=NULL) { |
106 | pp+=strlen("\nw_wims_ismanager="); |
106 | pp+=strlen("\nw_wims_ismanager="); |
107 | if(*pp>'0' && *pp<='9') continue; |
107 | if(*pp>'0' && *pp<='9') continue; |