Revision cdaddc5a
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/Auth.pm | ||
---|---|---|
701 | 701 |
$self->{unique_counter}++; |
702 | 702 |
|
703 | 703 |
$value = { expiration => $params{expiration} ? ($now[0] + $params{expiration}) * 1000000 + $now[1] : undef, |
704 |
no_auto => !$params{auto_restore}, |
|
705 | 704 |
data => $value, |
706 | 705 |
}; |
707 | 706 |
|
... | ... | |
1183 | 1182 |
seconds after which the value is removed from the session. It will |
1184 | 1183 |
never expire if that parameter is falsish. |
1185 | 1184 |
|
1186 |
If C<$params{auto_restore}> is trueish then the value will be copied |
|
1187 |
into C<$::form> upon the next request automatically. It defaults to |
|
1188 |
C<false> and has therefore different behaviour than |
|
1189 |
L</set_session_value>. |
|
1190 |
|
|
1191 | 1185 |
Returns the key created in the session. |
1192 | 1186 |
|
1193 | 1187 |
=item C<expire_session_keys> |
Auch abrufbar als: Unified diff
auto_restore ist gar nicht implementiert