| 1 |
|
| 2 |
|
| 3 |
The following options may eventually be added to C<init> if there is |
| 4 |
demand: |
| 5 |
|
| 6 |
=over 4 |
| 7 |
|
| 8 |
=item digest_module |
| 9 |
|
| 10 |
Which digest module to use to create the checksum portion of the session |
| 11 |
key. By default this is C<Digest::MD5>, but you could use any other |
| 12 |
module with the same interface, such as C<Digest::SHA1>. |
| 13 |
|
| 14 |
=item keyname_generator |
| 15 |
|
| 16 |
Normally the form state is stored in the user's session |
| 17 |
session using a key like: |
| 18 |
|
| 19 |
form_state_storage_name_84eb13cfed01764d9c401219faa56d53 |
| 20 |
|
| 21 |
If you want to name keys differently, you can provide a subroutine to |
| 22 |
generate the name. The subroutine is passed the name of the form state |
| 23 |
storage. |
| 24 |
|
| 25 |
=back |
| 26 |
|