-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTODO
More file actions
32 lines (17 loc) · 754 Bytes
/
TODO
File metadata and controls
32 lines (17 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
- make form state ids sequential and unique
- guard form state ids from tampering by using an HMAC of some sort
The following options may eventually be added to C<init> if there is
demand:
=over 4
=item digest_module
Which digest module to use to create the checksum portion of the session
key. By default this is C<Digest::MD5>, but you could use any other
module with the same interface, such as C<Digest::SHA1>.
=item keyname_generator
Normally the form state is stored in the user's session
session using a key like:
form_state_storage_name_84eb13cfed01764d9c401219faa56d53
If you want to name keys differently, you can provide a subroutine to
generate the name. The subroutine is passed the name of the form state
storage.
=back