Home
The Toolkit for Online Communities
17096 Community Members, 2 members online, 2237 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Can we use namespace variables to avoid upvar? : One Message

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.