> Result - works like a charm: t1 gives "page 1", t2 gives "page 2" > (in the browser window, of course). > No matter how many times and in what sequence I reload the pages. Repeating this test with a global variable $foo might be more revealing though, as it is unclear in which context @foo is evaluated. or p defined?(Foo) class Foo end