Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an object between to ASP Pages
Message
From
30/12/1999 18:10:47
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
 
 
To
30/12/1999 15:42:43
Christian Bellavance
Université du Québec à Hull
Hull, Quebec, Canada
General information
Forum:
Visual Basic
Category:
VBScript
Miscellaneous
Thread ID:
00310663
Message ID:
00310732
Views:
31
>How do I pass an object (custom object) between two ASP Pages.

One way to do this is to create a session variable to hold the object. Then in your 2nd ASP page, reference the session varible.

There is a whole debate about when and when not to use session variables, so I'll leave that aside.

So, your first page would have something like:

set session("myobj") = oMyObject

your 2nd page would have:

set oMyObject = session("myobj")

Does this help?
Jay Shepherd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform