That clearly isn't working as you expected it to as it is quite obvious from the error message you cite that param('html_template') is returning a literal string and not a Template object.
/J\
In reply to Re^4: A question regarding cookies
by gellyfish
in thread A question regarding cookies
by barrycarlyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |