Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an object between to ASP Pages
Message
De
10/01/2000 09:28:02
 
 
À
10/01/2000 07:50:11
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:
00315438
Vues:
24
I think it's because that if you make an object in a session object, then you have to remember to clean out that object or your stuck waiting for the timeout of the session. If you just use local variables in your ASP code, then the object SHOULD be cleaned out when the page load is done, or when it hits an "SET object = NOTHING" line.

If someone hit your site and an object was created in a session, then they leave without going through the proper exit routine to clean out the object, that object is in there for the timeout period (default 20 mins).

That may not be a bad thing for a small or even medium site. However, programming "DO's and DON'T" tend to be universal. "If you wouldn't do it on a BIG site, don't do it in a SMALL site..."

That's what I've heard in the past of this subject. There could be more reasons.

-Joe
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform