Created
March 30, 2012 16:00
-
-
Save victorquinn/2252458 to your computer and use it in GitHub Desktop.
cache_set() not getting hit?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$form_id = "test1234"; | |
$form = array('nthnth' => "NNnthnthnt"); | |
$form_state = array('sntssss' => "NTHNTHNTHNTH"); | |
form_set_cache($form_id, $form, $form_state); | |
watchdog('vcache', 'Cache about to be called!'); | |
cache_set('form_' . $form_id, $form, 'cache_form', time()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment