I&#039;m having a problem accessing objects in a session context via the .dll I created. I have noticed that while code like...<BR><BR>Dim rsTest<BR>Set rsTest = Session("somerecordset")<BR><BR>... runs perfectly well in an ASP page, in my .dll the following code bombs out with a horrible "Object variable or With block variable not set" error message.<BR><BR>Set rsTest = mySession("somerecordset")<BR><BR>I am using the Scripting Context Object to get access to the ASP session object. I eventually found a workaround for the problem by passing the recordset to the .dll instead of having the .dll set a reference to the recordset, but the problem it still annoying me.<BR><BR>Can anyone explain to me why my .dll&#039;s die when I try to set references to session object contents?<BR><BR>Thanks!<BR>