The following simple code illustrates how to prevent a browser from caching a particular page :
Consider this: You would have come across a situation when filling out a login form, where after processing if you hit your browser's
back button you could see the contents of the form that you typed still available on the form. This is really a serious issue which should be taken care... The following code should be place on the top of the page. This prevents the browser from caching a web page content.
'Make sure this page is not cached
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "No-Store"
The above code stops the browser from storing the web page in its
cache