Public nDateNow As Double = 0 Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init nDateNow = Date.Now.TicksAnd, do the same in the page Unload() event such as:
Sub Page_UnLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload Dim lnDateNow As Double = Date.Now.Ticks Dim lnElapse As Double = 0 lnElapse = ((lnDateNow - nDateNow) / 10000000) End SubExternally to that, if there is a bottleneck somewhere that slows things down, you would have to try to find out. Because, if you say that your hit is less than a second, then there is a 2-second delay on top of it somewhere which is affecting it.