Updated 2012-02-05 05:40:48 by RLE

(refers to Mel's Internet Toolkit)

To make any variable persistent throughout your application:

  • after you are logged in, you have a session going
  • on any page you can do:
    tk::session::setAttribute -name HOME -value "/home"

  • and to access it from any other page you do:
      set home [tk::session::getAttribute -name HOME]

Take a look at "Login.tcl" file

now that's simple