OpenFrame::WebApp::Segment::User::SaveInSession - save user to session.


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.

Index


NAME

Top

OpenFrame::WebApp::Segment::User::SaveInSession - save user to session.

SYNOPSIS

Top

  use Pipeline;
  use OpenFrame::WebApp;

  my $pipe = new Pipeline;

  $OpenFrame::WebApp::Segment::User::Session::USER_KEY = 'my_user';

  my $usaver = new OpenFrame::WebApp::Segment::User::SaveInSession;
  $pipe->add_segment( $uloader, ... $usaver, ... );

  $pipe->dispatch;

DESCRIPTION

Top

Save a User into the Session if both objects can be found in the store.

AUTHOR

Top

Steve Purkis <spurkis@epn.nu>

COPYRIGHT

Top

SEE ALSO

Top

OpenFrame::WebApp::User, OpenFrame::WebApp::Segment::User, OpenFrame::WebApp::Segment::User::Session


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.