Earnie Boyd wrote:
This suggestion is a misuse of the variable_set/get methods as a resolution to the OP's question. Store the serialized data in a $_SESSION['mymod'] data and then set the default values of your new form using the unserialized data from $_SESSION['mymod']. However, if you have sensitive data you'll need to encrypt and decrypt it as well as serialize the data.
What would encrypting the sensitive data in the $_SESSION variable accomplish, since the final resting place (the Drupal node/user/variable tables etc), aren't encrypted?
Cheers,
Jonathan