Download Original ASP Page

I received a "friendly" message of fellow webmaster saying that I had a security issue whereas it was possible to download my original ASP code.

As a proof he emailed a copy of one ASP page of a website I have been working on.

View Replies


ADVERTISEMENT

Get Original URL In Redirection

I have ASP page redirect from a HTML page which is password protected by IIS auth.I would like to check whether the redirection is REALLY taken from the HTML page. Since the ASP page is located at second server, would there is a chance that ASP programming such as server object can check the original URL. Or any other method.

View Replies View Related

Preserving The Original URL

I was browsing the web the other day and a website I had a look at redirected you to a different webpage but still preserved the original URL that was typed in the address bar on the browser (it didn't move or change at all) How is that possible? I would like to do something similar.

The reason I am asking is because I want visitors to view a profile of a user like this

myweb.com/fred

this would have to be translated and redirected to mysite.com/profiles.asp?user=fred.but I want the original URL address to stay showing in the address bar

View Replies View Related

Return To Original Form

I have several different ASP forms (call them Form A,B, and C). "Button X" is on each of them (Forms A,B, and C). "Button X" calls ASP Form D and does some processing. After I am finished with the processing I want to go back to the original Form, either A, B, or C, which ever one "Button X" was clicked on.

I think I am looking for something like

Response.Redirect ("Parent.Form")

View Replies View Related

Get Original Querystring Values After Decryption

Anyone have a VB function or know how to retrieve original querystring values after they have been decryted and lie within a string? Code:

View Replies View Related

Page Trying To Download

I have an .asp page to relay data to an MS SQL DB. The page runs fine on some machines but attempts to auto download itself with a "file download security warning" dialog.

Some of the machines are configured identically but problem occurs on one and not the other. IE settings on two machines are identical and it happens on one but not the other.

View Replies View Related

Asp Page Download

i m having a problem with an asp page attempting to download rather than run its contents. The page is designed to relay data to a secondery server and populate a MS SQL database. I have run the site with this page on a number of machines and it works on some but attempts to download the file on others; bringing up "file download security warning" dialog.

Additional weirdness comes from the fact that I can have two identically configured machines and yet one will work fine and the other will attempt to download the asp file. When I say identical i mean all the IE security settings are exactly the same.

View Replies View Related

Download Secure Web Page

I have used the "Microsoft.XMLHTTP" object to successfully download web
pages from other sites.

However, I need to download a page from a secure page. Can anyone point
me to sample code for that? I need to "post" data to a form on that
page, so any sample code for that would also be helpful.

View Replies View Related

Download Secure Web Page

I have used the "Microsoft.XMLHTTP" object to successfully download web pages from other sites. However, I need to download a page from a secure page. point me to sample code for that? I need to "post" data to a form on that page.

View Replies View Related

Login Page With Download Pop-up

I developed a login page and use Access as the database. When I test it using http://localhost, it works perfectly. When I upload it to the web server and click on the link, a file download box pops up asking me if I want to save or open the login.asp file. Why doesn't it work now?

View Replies View Related

ASP-Based Webmail: Include Original Reply Formatting

I'm building an ASP-based CRM system; a user sees the original
message, posted from the database and can hit a Reply button to
generate a TEXTAREA field on the next page that houses the original
messages and allows them to type a reply and hit a "Send" button.

The original message from the database includes natural line breaks,
as submitted--it doesn't contain any HTML breaks.

I would like to accomplish two things:

1) Add a "> " before each line of the original message, as contained
in the reply

2) In conjunction with the "> " preceding each line, break the
original messge string into logical line lengths that fit inside the
textarea field and don't wrap.

View Replies View Related

How To Not Cache All Elements Of A Web Page Download?

I have to continuously download the same web page on our IIS server. It is
important to always download a fresh page from the server including not only
the .asp page itself but all the .gif and .jpg files associated with that
page. We need to measure statistical info on how long it takes to download.
If the page is stored in the client machines internet cache that would be a
problem.

Now I know how to add the following to the main .asp page to insure a fresh
copy is always downloaded of this page itself.

<% Response.Expires = -2000 %>

When I look at the client machines cache folder it does show that the main
..asp page has expired an hour ago. However all the .gifs and .jpgs , etc downloaded with the main .aps page show the value Expire: None which I conclude means that these pieces are not redownload each time we get the main .asp page.

Up till now we have been using a perl script to try and erase the cache
before each download. This works sometimes but not all the time.

Is there any way to force the .gifs, .jpgs etc. to have to download fresh
each time just like I was able to get the main .asp page to redownload with
<% Response.Expires = -2000 %>

View Replies View Related

ASP Page To Open/download A File

I want to write a ASP page to open/download a file In fileview.jsp, I have the file browse, and when user click submit button, fileview2.asp should open the file.

fileview.asp
============
<FORM ACTION="fileview2.asp" method="POST">
<P><input type="FILE" name="filename">
<P><input type="submit">

fileview2.asp
============
<%
String filename = Request.Form("filename")
Response.Redirect = filename
%>

However, this is not working. any ideas?

View Replies View Related

Problem Displaying Page Before Initiating File Download

I'm looking to display a page and then initiate the downloading of a file.
Basically trying to display a page that says the download will begin
shortly, and if it doesn't, click here. Like what you see at a number
sites.

I found code to initiate the download in a previous posting ("Force Download
fails when I select "Open" but works when I select "Save"", posted Jan 25,
2005). The code works fine in terms of initiating the download. The
problem I've encountered is that the download begins before the page itself
is displayed.

View Replies View Related

On Windows 2003 IIS (6.0) Failed To Download A File From ASP Page

The ASP application uses the "File" active-x control. On windows 2003
IIS(6.0), the download the file fails with the Error: Request object error
'ASP 0104 : 80004005'

The above error is retuned by my asp code: lnBytes =
Request.BinaryRead(lnByteCount)

I did not see this error on windows 2000 server. Is there any solution/workaround available on Windows 2003 IIS(6.0) for this issue.

View Replies View Related

Populate A Popup Window With Clickable Records From An Access DB And Upon Clicking, Populate A Selectbox On The Original Webpage With The Clicked Record

We have an ASP site that hits up an Access database of categories of
products and products. (e.g. Categories = Napkins, Tablecloths;
Products = 20x20 Napkins, 21x21 Napkins, 54x54 Tablecloths, 60x60
Tablecloths)

We currently have select boxes that when you select a category, it
populates the next select box with the proper list of products (i.e. I
select Napkins as a category, I get a listing of the Napkins)

We would like to put a clickable link before each of these select
boxes that would pull up a pop up with links from the records from the
proper table.

(e.g. I click the categories link and a popup with html
anchor tags of Napkins and Tablecloths appear) I click on the Napkins
anchor and it populates the Categories Select box with Categories and
Napkins being selected.

View Replies View Related

Error "Internet Explorer Cannot Download <asp Page> From <server>"

When one of my users are navigating my ASP website, and click on submit type
button to move from Page1.asp to another ASP page, Page2.asp, they are
getting message like

"Internet explorer cannot download <asp pagefrom <server>. Internet
Explorer was not able to open this Internet site. The requested site is
either unavailable or cannot be found. Please try again later."

But other users are not experiencing this.

I also have seen http://support.microsoft.com/kb/316431/ but it doesnot help
me.

Can you please tell me what should be done to avoid this error. Do I need
to check any web browser settings?

View Replies View Related

"Cannot Download" An Excel File From An ASP Page

I am having trouble downloading an excel report generated from our AS
pages. We presumed it was something to do with the SSL certificate w
just installed, so loaded the ForceSSL.inc script from Microsoft an
changed the cache settings by changing this code in our globals.as
file:

Response.AddHeader "pragma","cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "private"

Now we are having trouble with downloading about ten of the twent
five reports that we have. Does anyone have any ideas?

View Replies View Related

ASP To Download

I am trying to download files from one website to another for purposes
of caching. In trying to do this, I created a VB dll component (using
VB6), that used URLDownloadToFile, to allow me to download the file
onto the receiving site. The sending site supports an ASP page that
allows the file to be downloaded.The component works fine when run in debugging mode, placing the file as expected. But when not debugging (but registered), it reports that
the file has been downloaded, but the file is not there.

View Replies View Related

Pdf Download

I am looking for some VB Script tutorials possibly as a pdf file that one can download and take print out of as one single file. I can see a lot of VB Script tutorials on the net but not offered as a single PDF file all in html format and explained on different pages.

View Replies View Related

Download PWS

where I can download PWS Personal Web Server,or IIS from,ideally for as little cost as possible?I have XP Pro, but I've tried typing "inetmgr" in the Run field in Start Menu but it says it can't find inetmgr,and there is no IIS or PWS in my Program menus or submenus on my machine that I can see.

I had heard my XP Pro may have come with IIS but this doesn't seem to be the case with my pc. I have IIS on my server at work which has Windows 2000.Is it possible to copy an .exe install application of somekind which would be used to install IIS on another machine? What would the .exe file be called and where would it be located?

View Replies View Related

SDK Download

Is there a reference document for ASP (not ASP.NET) which can be downloaded? Perhaps an SDK? Where could I find this?

View Replies View Related

CSV Download

I have created a script which connects to a SQL DB, runs a query, writes the results out to a file (Using FSO) then presents the user with a link to download the CSV. As the file contains sensitive data, I dont want to leave the file on the server, and I dont want to rely on the user to delete the file after every export.

View Replies View Related

Download

Looking for download asp script or java script for my zip files but without user know the location of the file/folder and can only log to this page from my authorized page.

View Replies View Related

ASP Editor Download

Does any one know if there a ASP editor available that I can download as a trial version or free lisence?

View Replies View Related

Download Image?

I have this javascript photo album i made. It is all working in tables and such. When you roll over a certain cell it will show that picture above, and turn the cell a different color. I also made the cell "clickable" when they are on it.

Is there anyway i can get it to when someone clicks that cell, that it will download that picture?? I have looked everywhere but i have not see anythign that will allow me to do that.

View Replies View Related

Download Images

I'm using ADODB objects to download the images. Is there any way I can disable 'Save' option on a prompt. Also, when display the image (it could be any of the following files: .doc, xls, txt, pdf...), I need to disable 'Save' option or hide the toolbar.

View Replies View Related

Download Time

I don't know if this is possible, but does anybody know whether you can determine how long a file took to download. I want to be able to log how long a download took.

View Replies View Related

Download Under A Different Filename

My problem is: i need to write an ASP page which first checks whether
the user has permissions to download a ZIP file, and then streams the
file itself if the user is allowed to see it.

I have succeeded until
this point, but the client browser asks to save the file with the
original filename (and ASP extension). Obviously this would mean
making the downloaded file unusable at client side, unless I tell the
site user to manually rename it, but this is not a solution.

So I ask you: is there any way for an ASP page to stream data to the
browser and have it saved with a default file name and extension which
are different from the page's ones? Code:

View Replies View Related

Download Script

I'm having a problem with a script that makes the browser download a PDF instead of opening it.But when the file is downloaded, it downloads nothing.

The code is:
[vbs]
Set FSO = server.createobject("Scripting.FileSystemObject")
FileThere = FSO.FileExists(server.mapPath(request.querystring("f")))
If FileThere then
Response.AddHeader "Content-Disposition", "attachment;filename=" & request.querystring("f")
Response.ContentType = "application/pdf"
else
response.write("Sorry, file could not be found")
end if
Set FSO = nothing
[/vbs]
let me know and I'll pm you the address for it.

View Replies View Related

Download Times

I need to show how long a given file size will download.

View Replies View Related

Download Data

We have to provide a facility on the client machines to download the data
visible on a ASP page into an excel sheet. We are using WIN2k clients
connected to WIN2k server with IE6.0 installed.
The way we plan to implement it is that :
a) provide a right click and download to excel button from the ASP page
visible in IE.
b) on click of download make a server call passing the appropriate command
to send back the data in excel format.
My questions are :
Q1) Is there anyway to avoid the server call? I am not looking for OCX
either?
Q2) Are there any issues to do with memory leaks / deadlocks in case we use
such office automation to generate a report in excel? Is there a way around?

View Replies View Related

How Do You Run Media Not Download It ?

I have an example running at the moment that shares some 15,000 MP3 files however to offer these as downloadable i would be breaking the law i think !

I would like to set it up so that i have a method where the user can build a play list by going through the files and selecting them and then they would would be played either through the clients own system applications or through media components i can build into the site.

Maybe i could have some controls on there.

also why does the script not like to display files with the .ISO file extention ?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved