Re: [Templates] properly accessing variables and content processing with TT2

[prev] [thread] [next] [Date index for 2004/08/26]

From: Perrin Harkins
Subject: Re: [Templates] properly accessing variables and content processing with TT2
Date: 14:22 on 26 Aug 2004
erob wrote:
> A user sent an initial GET to some content handler.
> $stash->set() is then summoned -- containing
> the results of the search -- and then the template
> is processed accordingly.
> 
> Later on, the same honorable user having seen 
> something he like, (or horror, dislike ;) has sent
> a new request to another content handler. That handler
> do one more $stash->set statement, and then send
> the back the updated template object.

I don't understand why you think this is a problem.  The stash is not a 
part of the template.  It does not last between requests and is not 
cached in any way.  All of the data from thr first request will be gone 
when the second one comes in.

- Perrin



_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

Re: [Templates] properly accessing variables and content processing with TT2
Perrin Harkins 14:22 on 26 Aug 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52