Re: Storing website templates in sessions
| From: | rush | Date: | Thu, 08 Jul 2004 07:26:20 +0000 |
| Subject: | Re: Storing website templates in sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189944@lists.php.net to get a copy of this message | ||
"Joe Harman" <joe@cjharman.com> wrote in message
news:000001c46470$f6669810$1a12d943@cjh...
> Hey everyone...
>
> I was curious if anyone out there has some pros and cons to storing a
> website template that is extracted from a mysql db and stored in a
> session... is this an efficient way to do it?
>
> also... does anyone know what the size limitations for a session would
> be?
I guess you could stuck them there if you really wanted to, but there is
some broken feeling about that. Like keeping your motorcycle in dining room,
you can do it, but it is a bit odd.
Keep templates in files, or if you are using Smarty or TemplateTamer in
generated php code.
rush
--
http://www.templatetamer.com/