Static Files
I have a site that will be displaying static files to clients. Each client will have their owb directory locked down through NTFS permissions. Currently I have a Client folder in the wwwroot then that client folder has a folder for static files in it. How much more secure would it be if I moved it out of the wwwroot and used a virtual directory?
View Replies
ADVERTISEMENT
i have table which is generated from the database, and is beeing displayed on my website...How can i make the header row static???? so i can still see the header row while scrolling thru the data
View Replies
View Related
I have to submit my html-page but the asp-variables shout kepp their contant. is it posible to make a static-variable or can i realize this another way?
View Replies
View Related
I'm using the Server.Execute method to include a static page inside a
dynamic database call. This static page is not a valid HTML page (i.e.
lacking <body>,<head>, etc. elements), but I'm pulling it into the dynamic
page just to give the content an upgrade in presentation, including images.
The problem is that there is no way to have relative URLs in the content
page, so all the image src's are wrong. Is there a better way to include
static content like this, or a way to alter the contents on the static page
prior to running Server.Execute (I could parse the file via the
FileSystemObject, but I'm hoping not to do that)?
View Replies
View Related
forking with a aps site previously programmes which is currently using frames to have a persistant menu floating at the top of the site. I would like to switch this to a floating menu system and be rid of the framing. How do i do this?
View Replies
View Related
My asp application has many asp pages that are linked together.I want to create a variable which is initially set to some value (say 50). On each page,the variable is to be procesessed.
Now on the next page i want to use that processed value of the variable.(ie if on my page 1 value of variable became 30 due to some processing,the page 2 should have the value of that variable as 30 , and not 50)
how and where i should declare the variable.P.S.actuallythe main page keeps on referring to itself. its actually an online quiz
main.asp reads as:
<form name="form1" action="main.asp?action=1" method="POST" >
View Replies
View Related
WINXP/FP2000/IIS4
Is is possible to pass a populated static array to a new page - as session variable, maybe or cookie?
View Replies
View Related
I am facing problem with the huge Viewstate size(Using .NET 2.0). to improve the application performance,I am using Static variable to store view state data. Does anyone has other option to improve performance or what r drawback of using Static variable.
View Replies
View Related
I am using forms authentication to protect all content as described in the
kb article below.
http://support.microsoft.com/defaul...kb;en-us;893662
This works fine except for files that are larger than about 40 or 50mb at
which point the user gets a 404 error and the httperr log indicates
connection_dropped status.
This is a w2k3 server with SP1 and all security patches installed.
Has anyone seen this before? I have been reading various posts online but
none seem to fit this symptom. Also have tried tuning various meta-base
properties to no avail.
View Replies
View Related
My client has a laregly static web site in English only. I will be adding e-commerce functionality shortly. Therefore, I am seeking an approach to allow users to select a language to view the entire site with. I have ASP Classic at my disposal. The site has no back-end database. I am thinking of providing Japanese, German and Spanish.
I am aware that different approaches exist. I good book or tutorial would help me out. Or do some of you have ideas? Remember: static pages, ASP Classic and no database.
View Replies
View Related
I know via mod rewrite you can mimi static pages, but how does one do this for ASP? before I go crazy modifying my code to generate a static page for all of our products (1000's of html pages) and new ones for SEO purposes, I want to make sure there is no other way to do this?
View Replies
View Related
I have a couple of static HTML pages live, as a sort of family blog. Now I just found out how ASP could work, experimenting with WikiAsp.
What I would like to know is whether it is possible to include some DHTML in my static pages for gathering comments on blog entries, which are saved to a database for example on 1asphost.
Of course it would also be nice to read out the database again to see the comments to each blog entry in the static pages. Can this all be done using ASP?
View Replies
View Related
I'm running a Windows 2000 server with IIS. I have ASP execute access on the server. My users publish their pages onto our webserver by copying their files onto their respective directories in the server.
I intend to have each author append <meta> tags which describe information such as: author name, authorEmailAddress, authorPhoneNumber, etc..
When a user browses a particular page on the server, the web server will need to read this information (the meta tags) from the requested HTML file, and append an "Author block" at the bottom which contains some of the meta-information, as well as determining the Created Date and Last Edited date from the HTML file itself (from the filesystem).
I'd also need to include some kind of conditionals such as making the author block red if the last update date was more than 30 days ago (todaysDate-FileSystem[currentHTMLfile]).
How can I do this? I'm truly puzzled. I don't want make my authors use .ASP files because this gives my authors too much power (not to mention most are computer illiterate). I'd like for them to write static content, while the server appends content that is generated dynamically.
View Replies
View Related
I having trouble with some of my classic asp pages being dropped from google.Specifically, a set of four pages reused many times with the content identified via query strings (max 3 variables). I was under the impression that google no longer has a problem with urls appended with query strings. Does anyone know if it is possible to incur penalties for the "over use" of such pages? My product detail page for example is used to display 230 seperate products.
if using static urls may help get my pages re-indexed, but I have had difficulty finding a way to do this with classic asp. Could anyone suggest a suitable method or advise possible reasons for my google disaster?
View Replies
View Related
When I use IIS 6.0 to display static content everything works according to plans. Now I have created an asp page even though there is no dynamic content at the moment. The web page's name just ends in "asp" and has the Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
at the first line of the code.
When I try to link to this asp-page I get an error code saying "Http 500 Internal Server Error". I then disabled the "friendly http errors" and got this information.
"Asp error Asp 0203"
"Invalid code page"
"The specified code page attribute is invalid"
I should also add that I have enabled/allowed asp as extension in IIS manager.
Anyone who knows what I can try to get IIS working with dynamic content too?
View Replies
View Related
I have a website that we display images we have saved into a SQL Server 2000 database as binary BLOB. This is on a Windows 2003 Server. Just recently (a week ago) this website began to save the images it is displaying on the website as ASP pages in the Temporary Internet Files > IE.Content > Folder.
We have other websites where we use the exact same code and these do not save files on the server when they are displayed.
Here is the code to display the image:
Set rs = objConn.Execute( SQL )
Response.ContentType = "application/octet-stream"
Response.BinaryWrite rs("Product_Image")
SQL is the SQL String to get the image from database
When I add this code:
Response.ContentType = "image/jpeg"
The images still display on the website, but now are saved in the Temporary Internet Files folder as JPG's.
View Replies
View Related
Can a php file be executed inside an asp file? I need to execute a php file in another asp file but i'm not so sure it's possible.
My server can run both asp and php and they run without any problems... I just need to find a way to include the execution results of the php file in the asp one.
Is it possible to use SSI and include the executed php file and then the executed asp file in a main ssi file?
View Replies
View Related
I have installed PWS in windows 98 in each of the system at various places and put my Sales program files in the WWWROOT directory in all the branches. I'm afraid that the users may tamper my ASP files. Is there any way of converting .ASP files to .exe files so that the dont see my program.
View Replies
View Related
I was wondering how some sites let you search by using a form, then present the results as static .htm files.
The reason I ask is that I tend to use ASP to process form information, then give the user a list of results presented on an .asp page. The list is simply drawn from a database in real-time and formatted into a template page.
The problem with this is that search engines can't see any of the information in the database, since they can't do the form submission. Is there a way around this?
View Replies
View Related
When DLLs are compiled in VB, in addition to the dll, there are also
exp and .lib files created. Can somebody tell me what these are for?
Do I need to include them when I deploy my application?
View Replies
View Related
I want to include just the result of a PHP file within an ASP file. <--#include won't work, it just imports the text.Is there an alternate way to do this?
View Replies
View Related
Checking our IIS log files we often get the chinese bots probing our sites. My only concern at the moment is that when an item is called by ID (i.e. select category from table where categoryid = id) and the id is called from either a querystring or a form request, I use CLng (i.e. CLng(request.querystring("id")) to convert the id to a long int to prevent the bots injecting the variable with any non-numeric characters.
View Replies
View Related
how can i do a ftp function to upload and downlaod file to the server without using a 3rd party component?
View Replies
View Related
can somebody advise me, how to put a few text files into zip archive on IIS5
on user request on some asp page?
View Replies
View Related
IYHO, if I have say 10 different product categories that extract their data
from say 10 text files or an Access DB, is it more efficient to have an ASP
for each product category to query each section or 1 which parses the lot??
The only reason I am asking is for multiple user access I have this strange
belief that if 1 page is getting requested and queried by 10 simultaneous
visitors then 'spreading the load' on different pages would help.
Is my logic correct or do the ISP fairies have this in hand??
View Replies
View Related
when the user submit a form, all the form data's will be saved
as a pdf file
is it possible?
yes means. by what way we can get this..?
For doing this we have to use any third party tools..?
View Replies
View Related
I would like to capture the data from a textarea box and save it to a file.
View Replies
View Related
i want to know what is the difference between using a .asp include file and .inc include file.I know how an Asp Include file works , but some place i have seen .Inc as Include file. What is the difference?
View Replies
View Related
Does anyone know of a COM object, or if it is possible to display content in the browser of a file in a zip file.
In other words, I have a zip file with like 100 images. I have a script that will knows which zip to look at and what the file name is inside the zip. What I want is to display in my browser the image that is in the zip file .Not sure if this is possible or not, I've been searching the web for a way to do this. Any help would be great.
View Replies
View Related
I wanted to know whether we can zip files on the fly without using any
components.
View Replies
View Related
i have just installed windows server 2003 standard edition
but when i try to run any asp files it gives this error :
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.also i couldn't log in my hotmail account
si i searched the help files i found some issue about the security level so i changed the security level and i could log in my hotmail account
View Replies
View Related
how to use ASP for working .DBF files ?
View Replies
View Related
I'm looking into ways of creating zip files on my server without components to install. It's so I can let users of my site select files they would like to download and zip them up on the fly and download.
View Replies
View Related