From: Vandemoortele Simon Date: 2002-12-26T02:46:32+09:00 Subject: mod_ruby: What is the lifetime of my objects ? _Level:_ Still new to ruby and CGIscripting I am working on my first web scripts. _Setting:_ form1.rbx --> form2.rbx with both scripts needing the objects instantiated in 'classes.rb'. _Question:_ Assuming I put 'require "classes.rb"' at the beginning of form1.rbx When I click *Submit* in form1.rbx and get to form2.rbx, what happens to the objects instantiated in 'classes.rb' in the following 3 cases: - form2.rbx contains a 'require classes.rb' statement - form2.rbx contains a 'load classes.rb' statement - form2.rbx contains neither Do they disappear ? Can I still access them ? Thank you for your time, Simon -- If one cannot enjoy reading a book over and over again, there is no use in reading it at all. -- Oscar Wilde