Is it a good "advice" to store a template into a php session like:

$_SESSION["template"] = new PHPTAL('index.html');

because this would save a lot of sourcecode. Im using a "overall template" and only change in most cases the content, like:

$tpl->set('content', $content->execute()); // Where $content is another phptal template

but i dont know if this would kill the apache, bcause maybe the $_SESSION["template"] will grow bigger and bigger ...
Hope you understand what i mean!

--
Thias Jacob
Mail - MSN
[EMAIL PROTECTED]

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to