Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an object between to ASP Pages
Message
De
30/12/1999 18:10:47
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
 
 
À
30/12/1999 15:42:43
Christian Bellavance
Université du Québec à Hull
Hull, Québec, Canada
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Divers
Thread ID:
00310663
Message ID:
00310732
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform