Assuming that you are sending the correct mime type,
application/vnd.ms-excel is the official one, but others work, then it
is a setting on the clients browser that controls which program opens
the file.




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of
midrange
Sent: Thursday, July 27, 2017 8:41 PM
To: 'Web Enabling the IBM i (AS/400 and iSeries)'
Subject: [WEB400] Can the i cgi webserver handle redirect to .xls file
andhave
it open in Excel

User report request

They want to submit the report request and have the spreadsheet open
(in a
new window).

Not save it first, then find it, and then open .

Is this a IE / Chrome browser issue, or Apache, or javascript or what?

Need to do this without tweaking the pc - these are customers.

No Win IIS webserver in sight.

Years ago .xls or even .csv used to do this with a redirect (now
Chrome or IE
open as text files) ..

Pdfs still open by redirect.

What am I missing?



Jim



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list
To post a message email: WEB400@xxxxxxxxxxxx To subscribe,
unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.