To make any variable persistent throughout your application:
tk::session::setAttribute -name HOME -value "/home"
set home [tk::session::getAttribute -name HOME]
Take a look at "Login.tcl" file
now that's simple
EKB That does sound cool. But what is it in reference to? Where is "Login.tcl"? - RS: See Mel's internet toolkit. But persistant data storage is basically just writing stuff to disk (or in the registry if you so wish. However, note that even though the above uses the ::tk namespace, it is not part of Tk.