[support] Passing Variable between Forms

Jonathan Hedstrom jhedstrom at opensourcery.com
Wed Oct 22 20:54:44 UTC 2008



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


-- 
Jonathan Hedstrom                                     OpenSourcery
http://opensourcery.com                        Technology for Good



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/support/attachments/20081022/97d55449/attachment.pgp 


More information about the support mailing list