
Egg::Model::Auth::Session::FileCache - Session management for AUTH component that uses Egg::Model::Session.

package MyApp::Model::Auth::MyAuth;
..........
__PACKAGE__->config(
sessionkit => {
model_name => 'session_model_name',
auth_session_key => '___atuh_session_data',
},
);
__PACKAGE__->setup_session('SessionKit');

An easy session function is offered to the AUTH component by Egg::Model::Session.
The setting of 'Sessionkit' is added to the configuration to use it and 'SessionKit' is set by 'setup_session' method.
It is Egg::Model::Auth::Session::FileCache and there is not building in a necessary Bind system component needing. The string putting with the client is left to Egg::Model::Session.
If Egg::Model::Session is not set up, the exception is generated.

Label name of Egg::Model::Session to receive session data.
Name of key to preserve attestation data in data received from Egg::Model::Session.
Default is '___atuh_session_data'.

The controller object of Egg::Model::Session is returned.
The session data corresponding to SESSION_ID is returned.
The session data is preserved.
The session data corresponding to SESSION_ID is annulled.

Egg::Release, Egg::Model::Auth, Egg::Model::Session,

Masatoshi Mizuno <lushe@cpan.org>

Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.