Commit | Line | Data |
---|---|---|
3c2ec899 | 1 | #!/usr/bin/env perl |
2 | ||
3 | package SessionValid; | |
4 | use Catalyst qw/Session Session::Store::Dummy Session::State::Cookie/; | |
5 | ||
6 | use strict; | |
7 | use warnings; | |
8 | ||
9 | __PACKAGE__->config->{'session'} = { | |
10 | cookie_expires => 0, | |
11 | expires => 1, | |
12 | }; | |
13 | ||
14 | __PACKAGE__->setup; | |
15 | ||
16 | __PACKAGE__; | |
17 |