csierra
Posts: 123
|
| Posted: 10/15/2007, 1:21 AM |
|
Hi guys, despite all good practice parafernalia, I am having trouble creating, then storing, then retreiving simple objects defined in classes residing in includables, storing them into session variables and querying them back...
Step a:
<!-- #INCLUDE FILE=".\ThisDef.asp" -->
<%
Dim oThis
Set oThis = New cThis
oThis.That = "something"
Set Session("this") = oThis
...
Step b:
Dim oAny
Set oAny = Session("this")
Response.Write TypeName(oAny) '---> this works
Response.Write oAny.That '---> this does not work; it raises
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'That'
My question is; if I am not having any programming fault; why does microsoft offers an unusable feature? I´ve been reading & find a lot of people having the same things; of course I would not bother you before checkin sessions have not expired, sessions id´s, etc... My question is (really) any work around that does not recur to cookies, nor URL state vars overload & parsing (too much coding) nor a db with GUIDS???
Thanks for any help
I am running WIn 2003 Server (IIS 6.0)
Thanks
_________________
Yes! I Can!!! |
 |
 |
|