Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving a Dundas graph
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01503853
Message ID:
01503879
Vues:
21
>>
>>any ideas how I could reproduce the graph without rerunning the code to produce it.
>>
>>Thanks
>
>Not really, short of saving it the first time it's generated. For example, you could drop it into a "temp" folder with a unique filename and return the filename when you return the image. Then when they click on save check to see if the file exists, if it does, retrieve it. Otherwise regenerate it. You'd also need another process to clean up/remove the old files (ex. expire them after X minutes). Or, you could save it into a user Session variable, or use the Cache object (although this could eat up a ton of memory quickly).

Ok

thanks paul

I think I'll leave it. The code to generate isn't too time consuming.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform