To disable client-side cache use meta tag
<META HTTP-EQUIV ="Expire" CONTENT ="0">
2nd, refresh action.. use
if(IsPostBack)
{
Response.Redirect("login.aspx");
}
3- back action
check the Browser Referrer
if(Request.UrlReferrer.AbsoluteUri =="http://......")
Note : This will only work after disable cache.
Good luck
"Mantorok" <> wrote in message
news:ebs8lu$4g6$...
> Hi
>
> Is there an easy way to disable ALL client-side caching for my entire
> web-site?
>
> Is there also an easy way to cause any "refreshes" and "back" actions to
> cause an automatic re-direct to my login page?
>
> Thanks
> Kev
>
|