I don't want browser to cache response redirect

adisonhardy

New Member
When an error occures i am doing Response.Redirectbut i see that this is causing some visitors trouble. Because stupid browser uses cache and they are not able to see that page again. Since error was temporary, it is causing huge troubleSo i don't want any of this redirects to be cachedI did a little search and come up with\[code\]Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache)\[/code\]But i want everything to be cached (images) expect redirect itself. So what is the best solution ?Asp.net c# 4.5 - netframework 4.5
 
Back
Top