Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If not session variables, then what?
Message
De
16/08/2000 13:41:32
 
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00405459
Message ID:
00405645
Vues:
16
Philip,

>1. We could pass data from the server to the client in hidden fields in a form, and then resubmit them to the server.
> - Some of the data we keep track of is XML (about 20K per user). This seems like a lot of unnecessary activity over the wire.

>2. We could store data in a DB Table, and pass the record id to the client, and retrieve the record when the next page is called.
> - We are expecting very high volume, and feel the SQL Server may be a bottleneck.

No need to pass the actual data back and forth -- just track a unique ID # that is tied to entries in a table on the server. The ID can be stored in a cookie that you check on each hit, embedded into the URL (called license-plating), or sent as a hidden form variable.

Web Connection comes with a pre-built class, wwSession, that can handle all of the logistics of storing/retreiving to/from the table.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform