Forum OpenACS Development: Re: Can we use namespace variables to avoid upvar?

Collapse
Posted by Tilmann Singer on
Jon, are you saying that if I create and set a namespace variable like this within a tcl script on aolserver:

namespace eval ::mylib {
  variable some_var
  set some_var foo
}

that ::mylib::some_var will persist over connections and not be deleted after the end of the connection of the thread's interpreter such as other vars would be?

Do you know in particular if that is true for aolserver 4? That would be quite a serious bug I think.