>>I've been through this type of situation in the past too. Any idea why manually trying to set the Datasession causes such, er, fun?
>
>No. Do you reset it properly? How do you do it? Try:
>
>(NOT TESTED CODE:)
>
>
local lnDS, loSession
>lnDS = thisform.datasessionID
>loSession = createobject('session')
>thisform.datasessionID = loSession.DataSessionID
>
>..... &&Bunch of code
>
>thisform.datasessionID = lnDS
>loSession = .NULL.
That is kind of how I was doing it. I just had a PrivateSession and a DefaultSession class that were subclasses of the Session class. I could then set the DataSession property properly.
However, it didn't seem to work. I had tried the idea about using a form before, but had a problem there too. I will revisit on Monday...
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch