| 1 | package Crop::HTTP::Session::Thru; | ||
| 2 | use base qw/ Crop::Object /; | ||
| 3 | |||
| 4 | =begin nd | ||
| 5 | Class: Crop::HTTP::Session::Thru | ||
| 6 | HTTP Session parameters to be passed to the next client request. | ||
| 7 | |||
| 8 | Current handler have to passthrough user's parameters to the next request to | ||
| 9 | restore form fields in the form next try. | ||
| 10 | =cut | ||
| 11 | |||
| 12 | use v5.14; | ||
| 13 | use warnings; | ||
| 14 | |||
| 15 | use Crop::Error; | ||
| 16 | use Crop::Debug; | ||
| 17 | |||
| 18 | =begin nd | ||
| 19 | Variable: our %Attributes | ||
| 20 | Class attributes: | ||
| 21 | |||
| 22 | id_session - session <Crop::HTTP::Session> ID | ||
| 23 | param - param name | ||
| 24 | value - param value | ||
| 25 | =cut | ||
| 26 | our %Attributes = ( | ||
| 27 | id_session => {key => {extern => 'Crop::HTTP::Session'}}, | ||
| 28 | param => {mode => 'read', key => 'text'}, | ||
| 29 | value => {mode => 'read'}, | ||
| 30 | ); | ||
| 31 | |||
| 32 | |||
| 33 | =begin nd | ||
| 34 | Method: Table ( ) | ||
| 35 | Table in Warehouse. | ||
| 36 | |||
| 37 | Returns: | ||
| 38 | 'session_thru' string | ||
| 39 | =cut | ||
| 40 | sub Table { 'session_thru' } | ||
| 41 | |||
| 42 | 1; |