Version 1 of State and Session Management

Updated 2006-01-31 16:51:44

To make any variable persistent throught your application:

  1. after you are logged in, you have a session going
  2. on any page you can do:
      tk::session::setAttribute -name HOME -value "/home" 
  1. 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