>>
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement