On 11/11/06, iain duncan <[EMAIL PROTECTED]> wrote:
>
> That's what I meant, thanks. That is the same behaviour as mod_python
> then. ( In php if you use your global name space it's not shared as far
> as I know... )
>

That is because a PHP page is executed once per page view so the
variable gets set up and then torn down at the end of every request.
A TG app (or a Django app, or a Rails app, etc etc) is a long running
process so that variable is there from when you start the server to
when you kill the process rather than per request.


-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to