Egg::Model::Auth::Bind::Cookie - AUTH component that treats session ID.
package MyApp::Model::Auth::MyAuth; .......... __PACKAGE__->config( cookie => { name => 'auth_session', path => '/', domain => 'mydomain.name', expires => '+1d', secure => 1, }, ); __PACKAGE__->setup_session( FileCache => qw/ Bind::Cookie / );
It relates by Cookie with the client of session ID.
'Bind::Cookie' is included in the list following the session name that adds the setting of 'cookie' to the configuration to use it and sets it by 'setup_session' method.
__PACKAGE__->setup_session( FileCache => qw/ Bind::Cookie / );
It is not significant with the session module that doesn't need Bind system component even if it uses it. Please note the return and becoming an unhappy rate.
The content of 'cookie' set by the configuration is a parameter passed to 'cookie' method of Egg::Response.
Session ID acquired from Cookie is returned.
SESSION_ID is set in Cookie.
Cookie is invalidated.
Egg::Release, Egg::Model::Auth, Egg::Model::Auth::Session::FileCache, Egg::Response,
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.
To install Egg::Release::Authorize, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release::Authorize
CPAN shell
perl -MCPAN -e shell install Egg::Release::Authorize
For more information on module installation, please visit the detailed CPAN module installation guide.