%@ LANGUAGE = JavaScript %>
<%
// make the browser not dosen't cache this page.
Response.Expires=0;
Session("prod") = String(Request.QueryString("prod"));
//
// if we don't know who the customer is, send them to the customer details page.
//
var custID = Request.Cookies("CustomerID");
if ( custID == "" ) {
Session("custDetailsReferer") = "../prefilestream.asp?prod=" + Request.QueryString("prod") + "&name=" + Request.QueryString("name");
if (String(Request.QueryString("prod")) == "undefined")
Session("custDetailsReferer") = String(Request.ServerVariables("HTTP_REFERER"));
Response.Redirect("./Customer/customer.asp");
}
fs = Server.CreateObject("Scripting.FileSystemObject");
pdfFile = fs.GetFile(Server.mappath("./PDF_Brochures/" + Session("prod")));
Session("intViewedLatch") = 0;
Session("intDownloadLatch") = 0;
%>
Brochure request
|
| |
You have requested the following brochure file:
| Brochure: |
<% =Request.QueryString("name") %>
|
| Size: |
<% Response.write(pdfFile.size) %>
bytes |
| Type: |
<% Response.write(pdfFile.type) %> |
| Name: |
<% Response.write(pdfFile.Name) %> |
You will need to have Adobe Acrobat Reader 4 installed on
your computer to view these files. If you do not have this software, you
can get it here.
Please select your download preference.
(If you are experiencing problems downloading or viewing this
file, please consult our troubleshooting
guide) 
back
|
|
|
If you have any enquiries or
comments about our products or this website, please contact
us.
Copyright © 2001 ICS Electronics Ltd.
|
|
<% Session("custDetailsReferer") = "" %>