>I end up having 2 datasessions in my app but not sure how this occurs. It is causing some problems like "cannot access selected file" How do I get a grip on this and prevent multiple datasessions?
It usually means that your form was not properly released because of the dangling object references.
Check DS after you release the form. You can test with asessions() function (or something along the lines).
If it's not broken, fix it until it is.
My Blog