CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Faulty Session Vars storing simple class objects

Print topic Send  topic

Author Message
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!!!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.