# File src/Session.rb, line 82
                def initialize
                        mylog = Logger['iowa_log']
                        @currentPage = nil
                        @requestCount = 'a'
                        @resourceCount = 'a'
                        @resources = {}
                        @resources_by_component = {}
                        @notes = {}
                        @lock = Mutex.new
                        @creation_time = Time.now
                        @pages = PageStore.new(@@cachedPages,@@cacheTTL)
                        @pages.add_finalizer(@resources,@resources_by_component) {|key,obj,resources,resources_by_component|
                                if resources_by_component.has_key? key
                                        resources_by_component[key].each do |res_id|
                                                resources.delete res_id
                                        end
                                        resources_by_component.delete key
                                end
                        }
                        @statistics = Iowa::SessionStats.new(@pages)
                end