473,507 Members | 8,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Binary streaming

Hi,

Here is a written descripton of my webpage.
One frame split down the middle. The left side is the menu and the right
displays what is selected from the menu.

the user selects from the menu and on the right, clicks on "download image"
link. the user is presented with a download dialog box. The user saves the
image and when it is completed goes and selects another item from the menu.
But this time nothing happens.

It is like i have to refresh the page before anything works again. It is
like it is stuck on the ASP binary stream file that forced the download.

on my link i have

<a href="donwload.asp" target="right">download image</a>

How can i fix this?

thanks
Sep 25 '06 #1
4 1609
why not just link to the image directly??? why is your HREF pointing to an
asp page? just point it at the JPEG
"panda" <pa***@discussions.microsoft.comwrote in message
news:70**********************************@microsof t.com...
Hi,

Here is a written descripton of my webpage.
One frame split down the middle. The left side is the menu and the right
displays what is selected from the menu.

the user selects from the menu and on the right, clicks on "download
image"
link. the user is presented with a download dialog box. The user saves the
image and when it is completed goes and selects another item from the
menu.
But this time nothing happens.

It is like i have to refresh the page before anything works again. It is
like it is stuck on the ASP binary stream file that forced the download.

on my link i have

<a href="donwload.asp" target="right">download image</a>

How can i fix this?

thanks

Sep 26 '06 #2
He may want to prevent leeching:
http://www.aspfaq.com/show.asp?id=2276
Joe Reynolds wrote:
why not just link to the image directly??? why is your HREF pointing
to an asp page? just point it at the JPEG
"panda" <pa***@discussions.microsoft.comwrote in message
news:70**********************************@microsof t.com...
>Hi,

Here is a written descripton of my webpage.
One frame split down the middle. The left side is the menu and the
right displays what is selected from the menu.

the user selects from the menu and on the right, clicks on "download
image"
link. the user is presented with a download dialog box. The user
saves the image and when it is completed goes and selects another
item from the menu.
But this time nothing happens.

It is like i have to refresh the page before anything works again.
It is like it is stuck on the ASP binary stream file that forced the
download.

on my link i have

<a href="donwload.asp" target="right">download image</a>

How can i fix this?

thanks
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Sep 26 '06 #3
Hi,

sorry i think i am not getting to the write problem.

the href is pointing to the asp file that force downloads the imagefile.
There are parameters that i have not included in the sample.

it would be download.asp?cat=1&img=image.jpg

My problem is after the users save the image and select another item from
the menu, the main screen (right) does not display the newly selected item

"Joe Reynolds" wrote:
why not just link to the image directly??? why is your HREF pointing to an
asp page? just point it at the JPEG
"panda" <pa***@discussions.microsoft.comwrote in message
news:70**********************************@microsof t.com...
Hi,

Here is a written descripton of my webpage.
One frame split down the middle. The left side is the menu and the right
displays what is selected from the menu.

the user selects from the menu and on the right, clicks on "download
image"
link. the user is presented with a download dialog box. The user saves the
image and when it is completed goes and selects another item from the
menu.
But this time nothing happens.

It is like i have to refresh the page before anything works again. It is
like it is stuck on the ASP binary stream file that forced the download.

on my link i have

<a href="donwload.asp" target="right">download image</a>

How can i fix this?

thanks


Sep 27 '06 #4
Just want to force a download instead of the the web browser showing the
image. Some of the images are very big, so downloading it first is a better
option.

I am able to force download the image, but after the image has been saved
and the user goes to select another group of images, the browser does not
show the new set of images. it is like it is still focused on the download
dialog box and not the main window

"Bob Barrows [MVP]" wrote:
He may want to prevent leeching:
http://www.aspfaq.com/show.asp?id=2276
Joe Reynolds wrote:
why not just link to the image directly??? why is your HREF pointing
to an asp page? just point it at the JPEG
"panda" <pa***@discussions.microsoft.comwrote in message
news:70**********************************@microsof t.com...
Hi,

Here is a written descripton of my webpage.
One frame split down the middle. The left side is the menu and the
right displays what is selected from the menu.

the user selects from the menu and on the right, clicks on "download
image"
link. the user is presented with a download dialog box. The user
saves the image and when it is completed goes and selects another
item from the menu.
But this time nothing happens.

It is like i have to refresh the page before anything works again.
It is like it is stuck on the ASP binary stream file that forced the
download.

on my link i have

<a href="donwload.asp" target="right">download image</a>

How can i fix this?

thanks

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Sep 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2216
by: André Rosendaal | last post by:
Hi, I need a test so I can determine whether a url points to a text file or to a binary file. Actually, I need to distinguish between streaming files and metafiles (e.g. asx files). I tried...
4
3141
by: nightflyer | last post by:
Hi all, [code snippet appended at the end.) my question: A class has a few string variables with not know length at design time. Now I declare lets say a 1000 of those classes and put them...
11
3115
by: Charles T. | last post by:
Hi, I currently writing a serialize/unserialize architecture. The read/write function will read/write from a binary file. My question is is there some sort on defined standart to use when...
4
5588
by: Hans Nieser | last post by:
Hi, I'm pretty new to C#, and recently I have been experimenting with sockets. However, I can't find a nice way (I've been fiddling with for-loops to no avail) to parse the data that comes in...
6
2702
by: | last post by:
Hi all, is there a better way to stream binary data stored in a table in sql 2005 to a browser in .net 2.0? Or is the code same as in .net 1.1? We noticed that in certain heavy load scenarios,...
0
1148
by: David Purton | last post by:
Hi, I have some ASP code to stream a binary file. It works well and looks something like the original ASP code shown below. I'm experimenting in creating ZIP files on the fly and am trying to...
2
2492
by: Wayne Marsh | last post by:
Hello, Is it considered sane/good practice to write a global operator for the insertion and extraction operators of an fstream in binary mode to serialize a binary class, or are they strictly...
3
3826
by: masood.iqbal | last post by:
Hi, Kindly excuse my novice question. In all the literature on ifstream that I have seen, nowhere have I read what happens if you try to read a binary file using the ">>" operator. I ran into...
3
3995
by: Brad | last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and response.binarywrite to send content to the browser. This has worked great for years...
1
2833
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.