User Profile & Activity

Steven Provencher Member

Yudi,

 

If you add a unique parameter to the URL for the image when you change an existing image with the same name as in a profile image where you use the UserID as the image name then any cache between your SL App and the Server will be bypassed. The server should just ignore the parameter as in my case the images are stored in Azure and it works fine. I use a helper function when needed to do the work.

HTH

 

public static Uri GetUniqueImageUrl(string imageUrl)

{

return new
Uri(String.Format("{0}?{1}", imageUrl, DateTime.Now.Ticks), UriKind.RelativeOrAbsolute);
}
All times are GMT -5. The time now is 1:08 AM.
Previous Next