The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenFrame::WebApp::Segment::Session - abstract class for getting Sessions from the store.

SYNOPSIS

  # abstract class - cannot be used directly

  use base qw( OpenFrame::WebApp::Segment::Session );

  sub dispatch {
      ...
      my $session $self->get_session_from_store;
      ...
  }

DESCRIPTION

The OpenFrame::WebApp::Segment::Session class provides a method for getting Session objects from the store.

This class inherits its interface from Pipeline::Segment. You must override dispatch() for it to do anything.

METHODS

get_session_from_store

If the store is a Pipeline::Store::ISA, looks for a descendant of OpenFrame::WebApp::Session, otherwise looks for known OpenFrame::WebApp::Session->types().

AUTHOR

Steve Purkis <spurkis@epn.nu>

COPYRIGHT

Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.

SEE ALSO

Pipeline::Segment, OpenFrame::WebApp::Session