Re: [SMARTY] Setting session variable from template?
| From: | Jason Sweat | Date: | Sun, 21 Sep 2003 02:27:12 +0000 |
| Subject: | Re: [SMARTY] Setting session variable from template? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10250@lists.php.net to get a copy of this message | ||
From: "John Wells" <jb@devsea.com>
Subject: [SMARTY] Setting session variable from template?
> I'm trying to find a way to set a session variable from within a
> template.
That sounds like business logic that should be complete prior to ever
running the template.
If there really is a need to do this in the template, I would suggest
writing a custom function to accomplish it.