Ask a Question related to ASP.NET General, Design and Development.
-
PJ #1
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
-
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... -
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... -
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,... -
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... -
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... -
Natty Gur #2
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
-
PJ #3
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
-
Natty Gur #4
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
-
Natty Gur #5
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
-
PJ #6
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
-
Natty Gur #7
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



Reply With Quote

