Popup Request Hanging Main Window

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Popup Request Hanging Main Window

    I want the user to have the capability to continue browsing the site as they
    are recieving a file attachment from a popup window, but any requests just
    hang on the browser until the file download is complete. What gives? Can
    only one request be processed at the same time from a session? Other
    clients, even other browser windows on the same computer do not experience
    issues with hanging requests. I appreciate it if someone could help point
    me in the right direction to solve this problem.

    TIA~ PJ


    PJ Guest

  2. Similar Questions and Discussions

    1. can a popup window return data to parent window?
      Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user...
    2. SQL Query request is just hanging.
      I'm using IIS5.0 on W2k. I have upgraded w2k to sp4 and ms sql server to sp3. I created a new table and just do a simple query in php program. But...
    3. refreshing main window after editing in popup
      Hi all i have 3 popup windows, in which i can add, edit and delete records from a table, now after user is done, i want to refresh main window,...
    4. how to close popup and open new main page
      Our page, Order.htm, has a link on it to PartNum.htm which is a popup reference list. On PartNum.htm the user can scroll the list but also can...
    5. Returning to main movie from popup-window
      HI! On my director movie there is a link which opens protected dir-file as a popup-window and from the popup-window is link which opens pdf-file...
  3. #2

    Default Re: Popup Request Hanging Main Window

    Hi,

    Can you tell in more details how you send the file? I’m sending Zip
    files from the server to the client and I don’t get this behavior. I set
    the buffer to off and I'm sending chunks of the file to the client.

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default Re: Popup Request Hanging Main Window

    Hi Natty~ Here is the code I use to send out the request. I chunk it out
    as well. Sorry, it's in vb.net, forced to program w/ this god awful syntax
    right now. CHUNK_SIZE is 16384. thx~ PJ

    Dim br As New BinaryReader(fs)
    Dim offset As Long
    Response.Clear()
    Response.BufferOutput = False
    Response.Buffer = False
    Response.ContentType = "application/octet-stream"
    Response.AddHeader("Content-Disposition", "attachment; filename=" +
    fileName)
    Response.AddHeader("Content-Length", fs.Length.ToString())
    Response.Flush()

    Dim totalSize As Long = fs.Length
    Dim size As Long
    Do
    If offset + CHUNK_SIZE > totalSize Then
    size = totalSize - offset
    Else
    size = CHUNK_SIZE
    End If
    If Not Response.IsClientConnected Then
    Exit Do
    End If
    Response.BinaryWrite(br.ReadBytes(Convert.ToInt32( size)))
    fs.Flush()
    Response.Flush()
    offset += size
    Loop Until offset >= totalSize
    fs.Close()
    br.Close()
    Response.Close()


    "Natty Gur" <natty@dao2com.com> wrote in message
    news:eIwjZ%23kVDHA.572@TK2MSFTNGP11.phx.gbl...
    > Hi,
    >
    > Can you tell in more details how you send the file? I'm sending Zip
    > files from the server to the client and I don't get this behavior. I set
    > the buffer to off and I'm sending chunks of the file to the client.
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 28th Baruch Hirsch st. Bnei-Brak
    > Israel , 51114
    >
    > Phone Numbers:
    > Office: +972-(0)3-5786668
    > Fax: +972-(0)3-5703475
    > Mobile: +972-(0)58-888377
    >
    > Know the overall picture
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    PJ Guest

  5. #4

    Default Re: Popup Request Hanging Main Window

    Hi,

    The code looks fine. is the popup window Modal or Modeless?

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  6. #5

    Default Re: Popup Request Hanging Main Window

    That’s really interesting, can you e-mail me sample project that
    demonstrate the problem?

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  7. #6

    Default Re: Popup Request Hanging Main Window

    Thx Natty...I have sent you a zip file w/ a sample web app.

    "Natty Gur" <natty@dao2com.com> wrote in message
    news:OOWicHoVDHA.2568@tk2msftngp13.phx.gbl...
    > That's really interesting, can you e-mail me sample project that
    > demonstrate the problem?
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 28th Baruch Hirsch st. Bnei-Brak
    > Israel , 51114
    >
    > Phone Numbers:
    > Office: +972-(0)3-5786668
    > Fax: +972-(0)3-5703475
    > Mobile: +972-(0)58-888377
    >
    > Know the overall picture
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    PJ Guest

  8. #7

    Default Re: Popup Request Hanging Main Window

    Hi,

    I got problems with my mail server, can you send me again ?

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139