Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP.NET 2.0, persist DataSet, ASPCOMPAT errors
Message
De
04/04/2006 18:06:39
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
ASP.NET 2.0, persist DataSet, ASPCOMPAT errors
Divers
Thread ID:
01110447
Message ID:
01110447
Vues:
63
Many developers persist DataSets between postbacks by doing something like this:
Session["dsPatient"] = (DataSet)this.oPatient.GetPatientByID("123456")

I persist the patient's data between postbacks in this way. These are small one record datasets so I don’t take a big resource hit. – This worked fine in asp.net 1.0 and 1.1

But in asp.net 2.0…
Any page that has data persisted in this manner *cannot* redirect to a page that has aspcompat=true in the page directive without throwing asp compat errors. Remember that ASPCOMPAT should be set to true when your pages incorporate Visual Foxpro COM interop.

OK... What is going here? Is this a security issue that is now present in asp.net 2.0 or is it a flaw? This is reproducible on all of my pages that I persist data in this way in asp.net 2.0

Any thoughts?

Neil Gorin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform