IMHO the code needs the change I applied with the previous mail, because an inputmodule should never open a new session. But that's my opinion. In some cases it could also make sense to open a session in an inputmodule.
So, should we add a configuration option for it :-) ?
Chris.
