Apache2-WebApp-Plugin-Cookie

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl module Apache2::WebApp::Plugin::Cookie

0.09
    - Migrated project SCM and code repository to Google Project hosting.
    - Updated POD and README artistic license URL in COPYRIGHT clause.
    - Changed each module version so that I can verify that the PAUSE packager/uploader script works as expected.
    - Updated license field in META.yml to fix 'License Unknown' issue on CPAN
    - Updated PREREQ_PM module versions in Makefile.PL
    - Updated module versions in META.yml requires field.

README  view on Meta::CPAN

      sub _default {
          my ( $self, $c ) = @_;

          $c->plugin('Cookie')->set( $c, {
              name    => 'foo',
              value   => 'bar',
              expires => '1h',
              secure  => 0,
            });

          $c->plugin('CGI')->redirect( $c, '/app/example/verify' );
      }

      sub verify {
          my ( $self, $c ) = @_;

          $c->request->content_type('text/html');

          print $c->plugin('Cookie')->get('foo');
      }

      1;

SEE ALSO

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

  sub _default {
      my ( $self, $c ) = @_;

      $c->plugin('Cookie')->set( $c, {
          name    => 'foo',
          value   => 'bar',
          expires => '1h',
          secure  => 0,
        });

      $c->plugin('CGI')->redirect( $c, '/app/example/verify' );
  }

  sub verify {
      my ( $self, $c ) = @_;

      $c->request->content_type('text/html');

      print $c->plugin('Cookie')->get('foo');
  }

  1;

=head1 SEE ALSO



( run in 0.341 second using v1.01-cache-2.11-cpan-73692580452 )