[mod_python] Newbie questions 1

fowlertrainer at anonym.hu fowlertrainer at anonym.hu
Fri Dec 19 12:24:08 EST 2003

Hello !

I've been used php, and zope before, but I want to try the mod_python,
becuase the py lang is seems to be better than these web-dev

Some structural/tehnological questions:

  I want to know, how many times used the mp_req objects ?
  Is eliminate mod_python this elements, if some of these objects don't
  needed longer ?
  I try to understand, how to be working.
  I see, that I can define global variables in main module, and the
  globals are globals in every mp_req.
  But if the system eliminate all of this objects, can holding these
  global vars ?

  Why are write this question ?

  I want to create a file or memory storaged session system.
  If the memory is cleared by every N time, it have been failed...
  So it is needed to be I have fix elements.

  Is the mod_py regenerate the existing objects, and clear memory if I change the
  source code, and I have two threads/two existing objects in alive ?

Best regards,
 fowlertrainer                          mailto:fowlertrainer at anonym.hu

More information about the Mod_python mailing list