Page Lifecycle ASP.Net Tutorial

<%@ Page Language="vb" %>

   
      Removing cache items in ASP.NET
      
         Sub Page_Load()
            Cache("Key1") = "foo"
            Response.RemoveOutputCacheItem(Request.Path)
            If Not Cache("Key1") Is Nothing Then
               myMessage.Text = Cache("Key1")
            Else
               myMessage.Text = "Cache items for " & Request.Path & _
                  " removed."
            End If
         End Sub