473,721 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dynamically saving html files on server

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 that as an
html file in server itself. Please advise how i can accomplish this.

Thanks for help!!

Sep 11 '07 #1
3 2146

<aj*****@gmail. comwrote in message
news:11******** **************@ b32g2000prf.goo glegroups.com.. .
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 that as an
html file in server itself. Please advise how i can accomplish this.

It would help to know why this is needed.

For example if this page takes a long time to execute and the requirement is
to build the HTML over night then the solution could be a VBScript scheduled
task to request the page using XMLHTTP and saving the response to the HTM
file.

OTH if the set of pages to be generated in this way is very large and its
simply desired to cache generated responses to improve response times then
moving to ASP.NET might be a better option. If not then an XML DOM could be
used to build the HTML content saving the DOM content as a HTM file.
--
Anthony Jones - MVP ASP/ASP.NET
Sep 12 '07 #2

"Anthony Jones" <An*@yadayadaya da.comwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
>
<aj*****@gmail. comwrote in message
news:11******** **************@ b32g2000prf.goo glegroups.com.. .
>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 that as an
html file in server itself. Please advise how i can accomplish this.


It would help to know why this is needed.
Could be the poster wants search-engine friendly urls. Who knows ;-)

--
Mike Brind
Sep 12 '07 #3
http://www.thescripts.com/forum/thread670995.html

<aj*****@gmail. comwrote in message news:11******** **************@ b32g2000prf.goo glegroups.com.. .
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 that as an
html file in server itself. Please advise how i can accomplish this.

Thanks for help!!

Sep 12 '07 #4

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

Similar topics

0
2303
by: mscir | last post by:
Date: Thu, 08 Jul 2004 17:02:27 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <10ero4l3kp2qa65@corp.supernews.com> Reply-To: mscir@usa.com User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@supernews.com
0
1339
by: William Morris | last post by:
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...
1
2915
by: John | last post by:
Hi, we have the following problem: in our application v1.0 we have static html pages (+ some javascript). With a CMS (a Content Management System) some "mortal" people can add or expand the available images for the start site. The site loads randomly an image or a Flash animation (if the flash plugin is present) through a javascript and each time the start site loades and displays only 1 different picture. At the moment the name of...
8
4314
by: Donald Xie | last post by:
Hi, I noticed an interesting effect when working with controls that are dynamically loaded. For instance, on a web form with a PlaceHolder control named ImageHolder, I dynamically add an image button at runtime: //----- Code snippet protected System.Web.UI.WebControls.PlaceHolder ImageHolder; private void Page_Load(object sender, System.EventArgs e)
1
1634
by: andrew | last post by:
So I spent ages trying to work out what the problem was with my code when I did this and found a post which led me to the very simple solution. I use WebMatrix so I'm not sure if this is a major problem in VS or not but it is bloody frustrating. Stick the following bit of code into a page and save it. <%@ Page Language="C#" %>
4
6723
by: Pedro Leite | last post by:
Good Afternoon. the code below is properly retreiving binary data from a database and saving it. but instead of saving at client machine is saving at the server machine. what is wrong with my code ?? thank you Pedro Leite From Portugal ------------------------------------
2
1462
by: | last post by:
I have some sensitive data encrypted in a database. I need to allow the authorized people to produce a report (obviously, unencrypted) that they can send to the appropriate partners. Can I set it up so they can download a .csv of the data without actually producing the csv and saving it on the server side? I suppose the best description would be that on the client side, there's a link on a web page that looks like it links to the csv, but...
1
1047
by: aspid | 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 that as an html file in server itself. Please advise how i can accomplish this. Thanks for help!!
3
2469
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 the binary data for the file. I can sucessfully take the files out of the databse again and display them in a data grid. I would like to resize the submitted file to a fixed size (say 180 x 120) before I upload it to the database and do this without...
0
9218
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9132
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9067
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8009
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6672
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5986
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4755
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3191
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.