hi all,
I am developing a system using asp.net(c#). I am using "left" "top" & "Middle" design in my system. I want to set a time out mechanism. when the user has expired the configured time the user is derected to a tomeout mesassage page.
at the moment i am using fillowing code in page load metod in all middle pages.
if (Session["UserId"] != null)
{
if (!IsPostBack)
{
////
//// necessry methods
////
}
}
else
{
Server.Transfer("TimeOutMessage.aspx");
}
can anyone propose another smart way to do this?
Thanx
Anushka