473,387 Members | 1,529 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.

Saving ASP output to HTML file on the server

We have a number of clients using a web application. Each client sees a
slightly different version of, say, a contact input page. As a simple
example, Client #1 sees demographics, plus religious preference and race;
Client #2 sees demographics, plus veteran's status and race, but not
religion; client #3 sees only demographics. The forms don't change much,
but they do change from time to time as clients add or subtract fields.

Each of these different versions are built from a database table which
describes each form for each client. When the server is under extremely
heavy load, the db-built forms slow down some reaching the client machines.
Because most of our clients are coming from a desktop world, they want to
see the forms load as quickly as possible.

I've taken to saving the html source from the asp files to HTML files, named
for their function and the relevant employee id, i.e. contact1234.html.
When contact.asp loads for employee 1234, it looks for the corresponding
HTML file and loads it if it finds it, or continues as normal if it doesn't.
That's fine for the number of clients that we have now, but as more come
online, this process is going to become unmanageable in a real hurry.

What I'd like is to be able to click a button at the bottom of a page and
have the file generated automatically. I've experimented with the method
shown at

http://www.aspfaq.com/show.asp?id=2173

and it works great as long as nothing dependant on session is involved. Our
app uses a few session variables, and any processing that depends on that
fails as the XML object does its thing.

I'd appreciate any insight I can get.

- Wm
--
William Morris
Product Development, Seritas LLC
Kansas City, Missouri
Jul 19 '05 #1
0 1331

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

Similar topics

6
by: Nick Warrington | last post by:
Somebody let me loose with ASP and it was all going well until I hit (what I think is ) a minor problem. I am using IIS as a remote configuration tool to modify an XML config file on the server....
1
by: Wayne | last post by:
I'm trying to save a report as a snapshot. If I use this code: DoCmd.OutputTo acOutputReport, "Snapshot Format (*.snp)", , False everything works fine, the file save dialogue box appears and...
4
by: dale zhang | last post by:
Hi, I am trying to save and read an image from MS Access DB based on the following article: http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp Right now, I saved images without any...
2
by: Jay Walker | last post by:
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid...
3
by: Clay Black | last post by:
I need to find a way to save an HTML page to the IIS server. What I need is to have a button that once it is clicked the current page being displayed is saved to a location on the local IIS...
3
by: jad101 | last post by:
I have an asp.net web page that: 1. Shows a message 2. Posts back (using javascript) 3. Reads contents of a file 4. response.write the contents of the file to the browser My issue is this: ...
6
by: John Kotuby | last post by:
Hi all, I am using a 3rd party program in a VS2005 web project. The tool takes as input a string containing HTML and converts it to RTF. I have been creating a page by dynamically loading...
3
by: ajaycfd | last post by:
hi all, I need to implement the following functionality in asp. I have got an asp page which renders some html onto the browser.Now instead of rendering the html to the browser i should save...
3
by: pozze | last post by:
Hi, I've just made the change from ASP to .net. I have a file (code below) that saves a user submitted file to a MS SQL 2005 database. It collects the file name, file size, file type, and lastly...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.