To keep pages seperate, we run them in different namespaces, in order to make sure local variables are really local:
This is ok, because 'greeting' disappears when the 'request' namespace is cleaned up after each page:
namespace eval request { set greeting "Hello, World" puts -nonewline $greeting } namespace delete requestThe following code will fail, even if called after the first page above, because 'greeting' has gone away.
namespace eval request {
puts -nonewline $greeting
}
namespace delete request