G
Gene Ariani
I currently create an cache item called 'skey' as follow. I need to clear
this cache when the client browser closes.
Is this possible?
Dim sKey As String = username + password
Dim sUser As String = Convert.ToString(HttpContext.Current.Cache.Get(sKey))
Dim SessTimeOut As New TimeSpan(0, 0, HttpContext.Current.Session.Timeout,
0, 0)
HttpContext.Current.Cache.Insert(sKey, sKey, Nothing, DateTime.MaxValue,
SessTimeOut, System.Web.Caching.CacheItemPriority.NotRemovable, Nothing)
Any direction is appreciated it.
this cache when the client browser closes.
Is this possible?
Dim sKey As String = username + password
Dim sUser As String = Convert.ToString(HttpContext.Current.Cache.Get(sKey))
Dim SessTimeOut As New TimeSpan(0, 0, HttpContext.Current.Session.Timeout,
0, 0)
HttpContext.Current.Cache.Insert(sKey, sKey, Nothing, DateTime.MaxValue,
SessTimeOut, System.Web.Caching.CacheItemPriority.NotRemovable, Nothing)
Any direction is appreciated it.