Martin,
>
oNadyaSession = CreateObject( "Session" )
>
>Better yet, sublass it in code, and use your class. It doesn't matter if you don't add anything to the subclass yet. Just as always, is better to have a subclass in advance.
I agree that Session class is good for things like this. In the first-level subclass that you suggested you'd probably want to go ahead and add various SET commands to the Init(), such as SET EXCLUSIVE OFF, SET DELETED ON, etc, ... whatever would usually be required.