Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




ASP-Automatically Deletion Of Page


Is there any script which can delete a webpage after a given time-period within that script?

I want a page to be deleted after a desired time and to not work untill reupload or recode.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Automatic .ldb File Deletion After Closing Connection To The Access DB From ASP Page
I created connection to the Microsoft Access DB using DSN from my ASP page.

<%
Set vpconn = Server.CreateObject("ADODB.Connection")
vpconn.ConnectionString =
"File Name=c:inetpubwwwrootDBDNAME.dsn"
vpconn.Open
' Close connection immediately after opening for testing
vpconn.Close
Set vpconn=Nothing
%>

The Microsoft Access, for every database opened for shared use, creates an .ldb file to prevent users from writing data to pages that other users have locked. Whenever the last user closes a shared database, the .ldb file should be deleted.

It is working; the .ldb file is deleted immediately after closing connection
but not if you open/close this connection from your ASP page.

What I found, the .ldb file is deleted with about 70 seconds delays after closing connection from an ASP page.

Page Run Every Day Automatically
I need to set up an asp script that will be run at the beginning of each day. How can I get this page to be opened at a certain time each day?

BTW - My page is to update a database, where based on a timestamp stored in the database, will deem records valid or invalid.

Need To Launch An .asp Page Automatically
I would like to run an ASP page each day at the same time automatically. it reads from my product data and ftps the data to another server.

I am running on a windows system with IIS I have no idea where to begin. Is there anything else I can do? it is not my own server so I don't have access to server. I can just ftp.

Automatically Refreshing A Page
I have an ASP page that displays random facts. Data is stored in a database. Everytime user hits on refresh, randomize function shows a new fact. I would like my asp page to refresh automatically every minute or so and run the randomize funtion and show a new fact. Is it possible with ASP? I have seen it done with Flash.

Automatically Jump To Another Page
how can i jump directly to another page ? let me explain better...i've got this form...the user fullfills the form and presses send...the form calls and asp file...after executing that file i want to be able to send the user to a specific web page, but i don't want him to press any link...just go there directly...how can i do it ?

Automatically Sending Email From Asp Page
I have a page that allows user input. On click of the submit button I call a javascript function that verifies that all of the fields are filled out and then submits the form. I need to add code after the verification that creates and sends an email. I know how to do this in VBscript, but don't know how to call a vbscript function from a jscript function (is this even possible?).

Automatically Fill Out An Excel File From An ASP Page?
My boss wants me to develop this page so that users can click on a button alongside an employee's page and this will open up the company Expenses Claim Form with some of the fields automatically filled in, pulled from the same SQL database that the webpage gets its info from.

I have been looking this up for *weeks* now, but the only solutions I can see involve the dot net framework, 3rd-party plug-ins or installing the Microsoft ODBC driver for Excel. My boss will not accept any of these solutions, as we are a huge organisation and this has to work accross the entire system. We're stuck with MS Office 2002, Windows XP and SQL Server 2000.

So far the best I can manage is getting the Excel form to open (but without the fields filled in), which I accomplish using the following code:

"ASP Page Should Be Executed Automatically Daily.
I have an ASP page which checks some condition from database and based on that it sends mails to respective persons. All mail details is in SQL server. The page works perfectly fine.

What i need is this page has to be executed daily without the interaction of any user/administrator. Is it possible?

Automatically Posting Form Values When A Page Loads
is there a way in ASP to automatically submit a form and its values when a page loads ?

if not is there any way round this scenario. i want to have a drop down list of options depending on which is selected will depend on where the form is submitted to.

How To Post A Page Automatically When An Option Is Chosen From A Drop Down List
what I want to do is - the user is presented with a form with a drop down box at the top with two options - Yes or No, If No is selected then the form stays as is and the user can complete the other text boxes.

However, if the user selects yes I want the page to refresh with a different set of input boxes.

File Deletion
i want to delete all files from a dir off the server any suggestions?I know how to delete specific files but i dont know how to delete all files.

How To Allow Deletion Of Records?
I have a customer tables,

Not sure how i should create the delete interface?

Normally what is the common way for users to delete records?

Show a list of the records, then tick it, then click delete button?

How do i code that?

Confirm Deletion Dialog Box
i have a recordset that displayed all the infos about a record and a delete herf or button
i want whenever i wanna delete a record a dialog box to appear with YES/NO/CANCEL button.

yes to confirm delete no to disagree and return to the previous page Cancel to cancel the action and remain in the same page !!

Run Asp Automatically
I have asp code. I would like to run it automatically by time interval using wondow schedule, but it can not be excuted. Is the reason that ASP is not executable? If so, how to run asp using window schedule?

Is There A Way To Automatically Run ASP Pages?
I'd like to set-up an ASP page that emails shoppers 30 days after they've purchased an online product.

Constructing an ASP page that searches the database and if the datediff of the order date and now() = 30 to send out an email shouldn't be that difficult. But is there a way to have it run automatically?

Form Tag Appear Automatically
when write open asp code in front page it automatically insert a </formtag in appropriate place. what is its cause and how to stop it.

Automatically Delete
how do i automatically delete records on date submitted

Automatically Add Data
if there is a way to use asp to automatically (i.e each time the source table is updated) take data from one table in an access database and add it to another table.
This would include getting data from multiple columns in the source table and concatenating it into one in the destination table.

Automatically Close
Pls what code can i use to automatically close and asp page after execution.

Automatically Calculate
I am building a database that users will update.
I have a table named "products".
Every product has a shelf life of 3 years and expires exactely at the end of the 3rd year.
Here is my table:
Productid ---- int
productName ---- varchar
manufacture_date ----- datetime default (getdate)
Expire_date ----- datetime

What I want is this, whenever a product is entered, the defualt date is the date the entry
was made. (I am using the "getdate") to automatically grab this.
BUT I also want the "Expire_date" field automatically calculated and then filled in.
That is, a user enters a product "manufacture_date" as 05/22/2003,
Then I want the expire field to be filled with 05/22/2006.
My preference is to handle this on the DB site and not ASP.

About How To Automatically POST
To create a asp file in a wbserver as a interface for the IPphone and the internet. As IPphone can only have GET function ( that means it can't POST thing to the internet).

The asp file's concept is that the file is firstly read the data sent by the IPphone and then encode them into html format and then POST them to the required website. However, i only know the following method to POST. Code:

Automatically Upload
Let's say i have a text file on the web server callled "text.txt". And I have another text file on my computer called "text2.txt". I want to somehow write the contents of "text2.txt" into "text.txt". (or even upload the file from my computer to the web server)

Get Sub Price Automatically.
i have 3 textfields: txtPrice, txtQty and txtSubPrice.

price for an item will be fetched from db at display in the txtPrice (i can do this). then, user just key-in the quantity for the item and automatically the sub price will appear in the txtSubPrice.

i have coded a function name CalculateSub() using javascript and tried to do the automatically calculation using onClick and onFocus at the txtSubPrice but failed. seems like textfield cannot has this function.

Automatically Re-POST
I have a problem with IIS 6.0 + IE 6.0. I'm POSTing back to an ASP page a long lists of IDs used for sending emails (>10.000). This process takes more than 30 min. The problem is that this process is automatically restarted by posting again all the data. I checked ASP page and there is nothing to reload the page. But after more than 30 min. (changed the timeouts) the process simply restarts by posting again the full list. I only need to
execute this page once.

why the whole process restarts posting back data (is not a simply GET, but POST)? There is no F5 / CTRL-F5 or Back buttons. It simply re-post data, without an error. It's my ASP page wrong? Or something wrong with IIS?

Get Connected Automatically
I want to add in my website a share rate and which changes automatically. how can i dispaly it in website what i have to do for that. I dont want to be linked with its website bu t i want to be displayed it in my web site.

IIS Shutting Down Automatically
IIS in our server is shutting down automatically on its own. I don't know what is the problem?

Instlled Automatically
I have created an application in ASP and want ot install the same into another machine but want to do in a manner such that all the programms should automatically install in InetPub directory.

I can think of executing this by cretaing an exec which will identify the inetpub and then installing the programms into it.

IIS Reset Automatically
This is the message i get when we have our application running using our own ISAPI code, it desapears when we don use the ISAPI filter, Can anyone help, It seems IIS assumes that we have a virus as stated by microsoft Message

IIS ADMIN SERVICE TERMINATED UEXPECTEDLY XTIMES EVENT ID
7031
SMTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031

FTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031

It only happens when we are using our own ISAPI FILTERS .

Automatically Send E-mail
I need some free tools that would allow me to automatically send e-mails to somebody acoording to the current date (e.g. if I have a table in a database with some fellows and their birthdays, I would like to automatically send them a greeting e-mail, when their birthday is). I would preffer that tool be installed as a service.
It will be just fine if I will be able to use this tool in an ASP site.

Otherwise, how could I program such a tool (and what language would be the most appropriate)?

Changing The Data Automatically
I have a page shows the news from the database, normal thing. but how can we make the latest news show after 24 hours, since the shown one will remove from the page and the newer will appear.

Converting Videos Automatically In ASP
Ive made an upload on my site so its possible to upload videos through my site and thier then output into a folder, is it possible for me to

1. Convert those uploaded video into 4 diffrent File Types (ipod,3gp,avi and mov)

2. tehn move the converted videos into another folder automatiaclly after being converted into their new file types.

Fill In Dates Automatically
I have a form that has 2 text fields. Field one is start date and field two is end date. I want field one to automatically be filled in when the Web page is opened with DateSerial(Year(Date()),Month(Date()),1) which should give me the first day of the month. Field two should be automatically be filled in with todays date. How do I do this?

Save File Automatically
Is it possible to write asp file which create some text file and then save
in local drive automatically without human interaction?

Automatically Sending Notifications
For a project I am doing I would like to offer customers the chance to recieve notifications of an order by e-mail, SMS or MSN messenger. Is this possible using asp and without spending any money!

Automatically Redirect To New Site
i need to use the refresh meta tag to automatically redirect to the new site. I know that people have an option to click a link incase the auto redirect doesn't work.

When would this happen? When would a auto redirect not work? Is there a way to ensure auto redirect always works? How about using response.redirect instead. would this gaurentee it?

Send Automatically E-mail
How to send automatically an E-mail when a user submit a form in ASP page?( for example send a congratulation E-mail with content " Successful Registration " to hisher E-mail address that heshe entered in submit form )

Fire Automatically A Script Asp
Is it possible to fire automatically a script (in asp) every hour ? I want to clean and compact a database every 6 hours.

Automatically Post A File
is it possible to automatically post a file from a websites host server to a third party server. Apparently this is quite easy to do using PHP. The scenario is that I have created a two line text file in a secure area of the web server. This file then has to be posted to a third party server for them to process. The trigger has to be a user click.

Excel Open Automatically
Excel open automatically without giving a dialog box option to

Open/Save/Cancel using filesys.createTextFile.

How to pop up the dialog box option to Open/Save/Cancel?



Automatically Create A Directory
Firstly I have a website in which when a User registers a entry is added into a database (I have done that successfully). However I would like my website to automatically create a directory on my web server when the user signs up. Any Ideas?

I would like to know how to upload a whole directory of files in one go to my web server using a web form.

Website Run Automatically Script
I have an ASP site with an MS SQL database. The site is hosted not on my own computer but by a hosting company. I need to make a script in asp that will run every day or every six hours and send email reminders of upcoming appointments.

How can my script automatically run without me or anyone else visitting a page for the script to run?

Automatically Generate A Number
I am creating a Change Management system and need my ASP script to be able to generate a number as an incident number for example for me automatically. The number would be stored in a MySQL database and the language I am using is ASP.

Can I create a column in the database that is a Primary Key and is auto_increment, even if I have already got another coulumn that is the ID column, which is a primary key?

Automatically Submit A Form
I'm running an asp script as a background request, which doesn't allow javascript. I need to have this script call another via post. I was using javascript before, to automatically submit the form, but then we found out that it doesn't work because of the way we're calling the script, so we need another method.

My main goal is to send information to another script via POST. Can anyone help me with this?

Automatically Edit Other Pages
I have a page that has includes in it. I need to automatcally add an include to this page, but the include that is included depends on the request.form item so, for example i need to update the page colours.asp and if request.form=1 i need to add to it include=newcolours.asp and if request.form=2 i need to add include=oldcolours.asp

ok this is a simple example but i just want to know how to add code to other pages.

Possible To Get Outllook Email Address Automatically?
Using ASP and CDONTS to send a simple email to an address that is chosen from a drop-down.

This works, however I currently have a textbox ('From') that the user has to manually enter their email address.

Is there anyway I can assign the outlook email address to a variable, without actually using outlook to send the email (i.e mailto?)

Detect Image Size Automatically In Asp?
I am writing a little script for an online album. The pictures' size varies
a lot. I have a maxim size for every displayed picture because the layout
of the page. So I want to resize the larger one to that size while leave
the smaller one in their original size. Is there any script or code that
can do this automatically?

Automatically Running ASP Scripts With Javascript
I just wrote an dynamic page, in this page I want after 10 second run some server side code but I don't want to refresh the page I want just by using javascript to tell it, run my ASP script after 10 second, I know we can't run ASP scripts in client but I want run that in another window, not popup and not new window, some thing like layer,

some thing like Gmail, Did you see , when yu are typing new email after 10-20 second its automaticaly save your email to the draft folder, It will refresh but not the page ,
I don't know how it work but I need some thing like that,

I have done this now (by running the code in a popup window : after 10 second js scripts will submit my forminformation to the popup window and it will process it in ASP script) but some times it doen't work , I mean it doesn't open the popup window so the script doesn't run,

Automatically Remove Symbols Using JavaScript
i have created an *.asp page where I alert the user if they attempt to submit the form using with commas, single or double quotes (, ' ")

I have written the following function but for some reason it is not working as I thought it would Code:

Automatically Update Date And Time
I am trying to do the following

1. I have a Severity dropdown (1, 2, 3, 4 and 5) in my script
2. Date (dateref)(varchar)
3. time (timeref) (varchar)

I want to do this, but have no clue how to write the script to do it.

It must Automatically update date and time as per severity rating

a. Severity 1. Date to be same day, Time + 1hour
b. Severity 2. Date +1 day. Time to be current time
c. Severity 3. Date + 3 days. Time to be current time
d. Severity 4. Date + 5 days. Time to be current time
e Severity 5. Date and time to default blank.

If I select any severity, it must changed the time and date that is on the same form, and save it to the table.


Copyright © 2005-08 www.BigResource.com, All rights reserved