※ 引述《savealone (嘴砲馬)》之銘言:
: 各位好,我們的系統是freeBSD+perl的開發環境
: 網頁會把各user的session存在一個資料夾內
: 我想請問一下,系統該怎麼設定才能自動清除session
Perl 請參考 http://search.cpan.org/dist/CGI-Session/
或 perldoc CGI::Session
OS 方面請善用 find(1),請打 man find 參閱 find 說明,比方說
find /tmp/sessions -type f -mtime 1h -delete
--
靜中見真境,淡中識本然
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.133.108.147