Issues with Server.ScriptTimeout

Discussion in 'ASP .Net' started by =?Utf-8?B?c3J0?=, Sep 1, 2004.

  1. Hi,
    I have some problems with setting Server.ScriptTimeout. The posted script
    doesn't
    stop after 120 seconds (the timestamps are displayed after the 120 seconds
    and I stopped the server after 5 minutes;-)
    Is this a bug in asp.net and is there a simple workaround?
    I tested this issue with Framework 1.1 (with and without SP1).

    Script:
    public class Test : System.Web.UI.Page
    {
    private void Page_Load(object sender, System.EventArgs e)
    {
    Server.ScriptTimeout = 120;
    while(true)
    {
    Response.Write(DateTime.Now.ToLongTimeString() + "<BR>");
    Response.Flush();
    Thread.Sleep(1 * 1000);
    }
    }
    .....
    =?Utf-8?B?c3J0?=, Sep 1, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anthony Williams
    Replies:
    8
    Views:
    6,051
    Matt Yaeger
    Aug 26, 2004
  2. =?Utf-8?B?Q2hyaXM=?=

    ASP.NET Server.ScriptTimeout being ignored

    =?Utf-8?B?Q2hyaXM=?=, May 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,377
    Cowboy \(Gregory A. Beamer\)
    May 14, 2004
  3. Mark
    Replies:
    4
    Views:
    1,490
    Allen Chen [MSFT]
    Jul 13, 2009
  4. Bryan

    Server.ScriptTimeout

    Bryan, Sep 16, 2003, in forum: ASP General
    Replies:
    4
    Views:
    120
    Dave Anderson
    Sep 16, 2003
  5. E Sullivan

    Server.ScriptTimeout

    E Sullivan, Jun 18, 2004, in forum: ASP General
    Replies:
    3
    Views:
    193
    Mark Schupp
    Jun 22, 2004
Loading...

Share This Page