Skip to content

den8/clear_expired_session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClearExpireSession
==================

ActiveRecord Session Storeを使っている場合、一定期間が過ぎたセッションを消去してくれるプラグインです。

Example
=======

script/runner 上で次のように実行します

$ ./script/runner 'Session.clear_expired 30.minutes'

上記のコードをcronなどに登録して定期的にセッションをクリアすると良いです。

Install
=======

RAILS_ROOT上で次のコードを実行して下さい

./script/plugin install git@github.com:den8/clear_expired_session.git



Copyright (c) 2010 [name of plugin creator], released under the MIT license

About

Clear expired session for ActiveRecord session store.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published