User-962338856 posted
Hi there,
I'm dynamically retrieving images from my db for a messageboard-style page, with the following code.
<
img
alt=
"../images/anonymous.gif"
src='../GetPic.ashx?ID=<%# Eval("UserID") %>'
Thing is, the assoicated user might show up in several places on the page (if he has more than 1 message). Now I'm sure this it's not a very good practice to reload the same picture from the db, for every message from the same user, on the
same page. My question is therefore: how could I reuse the same pic once it's loaded, without resorting to saving it on the file system first and then get it back (might as well reload from the db, then).
Any ideas guys?
Appreciate,
Premy