473,387 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

File Download - Security Warning in IE when trying to open a link to an image

Good morning everyone. I have an issue with a page I developed using
ASP. On my page I have active (or is it dynamic) hyperlinks to photos
of employees based on their employee number. When I click on the
thumbnail in Internet Explorer I get a message box titled File Download
- Security Warning and it asks me to open or save if I click open it
does nothing, if I click save it wants me to save the page showpic.asp
On my machine nothing happens on other machines if I click open it will
open the image from the C drive through a temporary internet type
folder.

In Firefox if I click the thumbnail it will open properly within the
window and the URL it displays is proper
(i.e. domain.com/idapp/showpic.ASP?AF_Employee_Number=xxxxxx)

How can I get Internet Explorer to open this page properly and quit
asking to open or save? Any help is greatly appreciated.

Thanks,

Jan 23 '07 #1
3 2642
What is the content type defined by showpic.asp ?

My guess would be that one browser understand the content type you used
while the other doesn't...

<bf****@gmail.coma écrit dans le message de news:
11**********************@s48g2000cws.googlegroups. com...
Good morning everyone. I have an issue with a page I developed using
ASP. On my page I have active (or is it dynamic) hyperlinks to photos
of employees based on their employee number. When I click on the
thumbnail in Internet Explorer I get a message box titled File Download
- Security Warning and it asks me to open or save if I click open it
does nothing, if I click save it wants me to save the page showpic.asp
On my machine nothing happens on other machines if I click open it will
open the image from the C drive through a temporary internet type
folder.

In Firefox if I click the thumbnail it will open properly within the
window and the URL it displays is proper
(i.e. domain.com/idapp/showpic.ASP?AF_Employee_Number=xxxxxx)

How can I get Internet Explorer to open this page properly and quit
asking to open or save? Any help is greatly appreciated.

Thanks,

Jan 23 '07 #2
Patrice you are awesome! I had my content type as jpg...when I
switched to JPEG it resolved my issue and works in both browsers!
Awesome, thanks much!

Ben
Patrice wrote:
What is the content type defined by showpic.asp ?

My guess would be that one browser understand the content type you used
while the other doesn't...

<bf****@gmail.coma écrit dans le message de news:
11**********************@s48g2000cws.googlegroups. com...
Good morning everyone. I have an issue with a page I developed using
ASP. On my page I have active (or is it dynamic) hyperlinks to photos
of employees based on their employee number. When I click on the
thumbnail in Internet Explorer I get a message box titled File Download
- Security Warning and it asks me to open or save if I click open it
does nothing, if I click save it wants me to save the page showpic.asp
On my machine nothing happens on other machines if I click open it will
open the image from the C drive through a temporary internet type
folder.

In Firefox if I click the thumbnail it will open properly within the
window and the URL it displays is proper
(i.e. domain.com/idapp/showpic.ASP?AF_Employee_Number=xxxxxx)

How can I get Internet Explorer to open this page properly and quit
asking to open or save? Any help is greatly appreciated.

Thanks,
Jan 23 '07 #3
<bf****@gmail.comwrote in message
news:11*********************@s48g2000cws.googlegro ups.com...

Although your question has been answered, please not that this newsgroup is
for ASP.NET, not ASP.

The correct newsgroup for issues related to ASP Classic is:
microsoft.public.inetserver.asp.general
Jan 23 '07 #4

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

Similar topics

0
by: Srikanth | last post by:
Hi I have a web page - in that i give a link to exe file. When the user clicks on the link the exe is supposed to be downloaded and executed in the user's system. (I am not writing any...
12
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
14
by: Stingray | last post by:
I think this is more of a general IE/HTTP question but I didn't know where to post. If this is not the place for it, please point me to the right group. Thanks. Here's my question: I have an...
5
by: Baren | last post by:
Hi! I am using impersonate="true" to upload and download files from a network share. I have created common users on both the webserver and the file server. The user has permission to the...
3
by: kim | last post by:
GOOD morning, I try to open xx.vbs in <href="./xx.vbs"></hef> but it pop up the file download mesage. How can i disabled it? I try another solution like this : set ws =...
1
by: Cindy H | last post by:
Hi I used the code below to automatically open a pdf file when the user clicks on a menu option. It works great on local machine, but when I uploaded it to hosting site and then tried it, I...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
7
by: bloukopkoggelmander | last post by:
Morning all I have a rather strange problem I have been trying to solve for a few days now. I am using Namo Web Editor for our local Intranet. All static pages with fixed URL's. I have a few links...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.