whatsthehampton
Programmer
Hi,
Been reading all day but just cannot find a solution to this one...
I have a userControl (header.ascx) which has an <ASP:Image> in it
<%@ OutputCache Duration="3600" VaryByParam="m" %>
m is a querystring values indicating the users username
I want to output cache this userControl for some time; but if the user uploads a new image - how do I remove the cache for this page and reset the cache after the upload?
I programmatically change the name of the image to stop that caching.
Cheers,
Jeff
Been reading all day but just cannot find a solution to this one...
I have a userControl (header.ascx) which has an <ASP:Image> in it
<%@ OutputCache Duration="3600" VaryByParam="m" %>
m is a querystring values indicating the users username
I want to output cache this userControl for some time; but if the user uploads a new image - how do I remove the cache for this page and reset the cache after the upload?
I programmatically change the name of the image to stop that caching.
Cheers,
Jeff