$item = $etomite->documentObject['pagetitle']; $out .= "<tr><td > <input type=\"hidden\" name=\"item\" value=\"$item\" /> ...when using uncached snippets, if I hit the submit button the result is as expected. If I go back to the original page, the $item value will be empty!
This will resolve after clearing the cache, but the problem keeps popping up again.
I use cached snippets it works fine but since this snippet uses some ajax and writes things to the db I am uncertain if I should be using it cached.
I do not understand this at all. Could anyone explain me this?
When should you be using cached and when uncached snippets exactly?
Edited by vampke3, 04 April 2011 - 08:01 PM.