Benjamin Strackany
6/6/2006 6:19:00 PM
If you want to clear items from a cache when a user logs out, then you may
want to use Sessions instead of the Cache object.
Regardless, if you want something to happen when a user leaves a site, you
can stick code in the session OnEnd event. It's harder to make something
happen when they close their browser, though -- you'd have to trap the
page's onunload event using javascript, which is a pita.
Ben Strackany
www.developmentnow.com
"Kamal Ahmed" <mhddsaleem@yahoo.com> wrote in message
news:eozO9LBcGHA.1208@TK2MSFTNGP02.phx.gbl...
> Hi all,
>
> I have a DB driven Web App with Cached Data Grids. I use Cached dataviews
> for data grids. Upon closing Site or logging out, I want to clear all the
> Caches in my site.
>
> How it could be done... ??
>
>
> TIA
>
> Muhammad Saleem
> CSi
>
>