A
andersboth
If i in my aspx cs file put code like this:
public delegate void TimeOutDelegate();
public void timeOut()
{
Thread.Sleep(8000);
}
private void Page_Load(object sender, System.EventArgs e)
{
Label1.Text= DateTime.Now.ToLongTimeString() + ":" +
DateTime.Now.Millisecond ;
TimeOutDelegate timeOutDelegate = new TimeOutDelegate(this.timeOut);
timeOutDelegate.BeginInvoke(null,null);
}
And then in aspx file a Label1, and a <META HTTP-EQUIV="Refresh"
CONTENT="0"> , to make it reload all the time.
Then the aspx page start haging or get delayed after a short time. I
think this is because some settings in IIS or
machine.config.
How come this happen ?
What settings do i need to change to avoid this ?
Best Regards, and thx if someone can help , Anders, Denmark,.
public delegate void TimeOutDelegate();
public void timeOut()
{
Thread.Sleep(8000);
}
private void Page_Load(object sender, System.EventArgs e)
{
Label1.Text= DateTime.Now.ToLongTimeString() + ":" +
DateTime.Now.Millisecond ;
TimeOutDelegate timeOutDelegate = new TimeOutDelegate(this.timeOut);
timeOutDelegate.BeginInvoke(null,null);
}
And then in aspx file a Label1, and a <META HTTP-EQUIV="Refresh"
CONTENT="0"> , to make it reload all the time.
Then the aspx page start haging or get delayed after a short time. I
think this is because some settings in IIS or
machine.config.
How come this happen ?
What settings do i need to change to avoid this ?
Best Regards, and thx if someone can help , Anders, Denmark,.