Re: [SMARTY] Plugin problem

"Erich C. Beyrent" <[email protected]> Fri, 03 Nov 2006 20:43:25 -0500
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
boots wrote:
> Without knowing anything about your environment, my first thought on 
> this is to guess that you are probably using sessions and serializing 
> the Smarty object. If so, then don't. The Smarty object should never 
> be serialized because it contains environment specific state 
> information that may not be true once it is unserialized.
>
> xo boots
>
> *//*
I am using sessions and storing the Smarty object in the session so that 
I can use it all over the site.  I inherited a rat's nest of code, and 
was trying to prevent having to create new Smarty objects all over the 
place, but from what you are saying, that's what I am going to have to do?

-Erich-

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php