Running ASP Code In The Background

I have a ASP web application, in the application I need to check if people did submit some documents, and if they don't past a certain date I want to send them email notifications.

I am using SQL Server 2000 and SQL Server Agent How can I write ASP code to run in the background on my IIS server, that will check for people who did not submit past a certain date and automatically send them email notifications?

View Replies


ADVERTISEMENT

Running Background Processes

how to run a script in the background? I have a stored procedure, which gathers a lot of info on various tables in a MSSQL , and from that rebulds a large table. I run this stored procedure like so:

Response.write "Updating CWC Page .... wait until you see <b>Finished!</b>"
dbconnection.CommandTimeout = 0
DBConnection.Execute("proc_updatecwc")
Response.write "<bR><BR>Finished!<BR><BR>"

this script takes about 3 minutes to complete, and then I can't do other stuff on the site. This script needs to be run at regular intervals, whenever new company information is added. Now, I want to be able to add the new info, and let the script run in the background, without waiting for the outcome / output. Can this be done?

View Replies View Related

Question About ASP Code (background Process)

I am wondering how to do automatic ASP background process to generate every
few minutes statistics from DataBase? I.e. how many people are already
registered... or how many people were born in 1980(?) etc... And of course
this background process should insert measurements into a special ROW in DB.

Does anybody know how to do this?

Could anyone send to me example of it?

View Replies View Related

Code/page To Run In The Background And Execute Periodically

I need an asp code/page to run in the background and execute periodically/full time. This code must do some actions based upon time intervals.

For example, The code must keep running and must send an email every 6 hrs. ASP is preferrable.

View Replies View Related

Running Asp Code

I am very new to asp programing, so this may seem a silly question but here goes.
I am creating a page that will generate random lotter numbers. I have created the actual code to generate the numbers and have added the code to the top of the page. the problem is the code runs when the page loads and I want it to run only on the click of a button.
I read various starter tutorials and none seem to mention how to asign code to the click of a button.

View Replies View Related

Running ASP Code That Is Saved In Sql

I have a database that holds html (like a cms) and I can output that html without a problem.

But when I have a record in SQL that contains Html and ASP (ie 'Hello this is page one and its now <%=Now()%>') and want to out put it i get exactly that where i want to get;

Hello this is page one and its now 11/01/2005

Basically theres a few other variables that also get stored in the database along with html how can i output the code so that it runs???

View Replies View Related

Running ASP Code From A String

Can I run ASP code from a string? I thought of using this method to get included files as text http://www.asp101.com/articles/mich...des/default.asp but then I need to run it as ASP.

View Replies View Related

Stopping Running Code At A Certain Point

I have a asp page which is pretty long. This consitst of various recordsets. My intention is to stop execution of a code at a cetain point and test one value prior to this point. Is there any way to do this?

View Replies View Related

ASP Background

is anyone have some link or know any please where I can find some information about how ASP is working in background, how it cooperates with IIS and similar stuff.

View Replies View Related

Run Asp Script In Background

im trying to create a script that is sending mail & due to its time of
executing im looking for a way to run that script in the background so the
user wouldnt have to wait.

i looked it up but didnt find nothing usefull, but i did come across batch files & vbs files. does any body has any idea how does it work or some reading about this?

View Replies View Related

Background Color

I have built an asp app that sends an e-card to selected recipients along
with the text entered by the user. Well, on some machines the text is not
visible because the background color of the table is not going across
correct. The background color is supposed to be teal with white letters.
However the background is going across white with withe letters on some
machines. I am using the same browser (version and everything) as one of the
machines that can't see it the correct way. I am able to see it fine. I have
put in the back color for all of the cells the table, etc but it's still
going through white. What would cause this to happen?

View Replies View Related

Run Function In Background

does anyone know a way to run a function in the background that wont depend if the browser is open or close?

i need a function that counts down time for a couple of hours & when time is done sends
an email.

View Replies View Related

Background Mode

I have done a CMS system and if I could do something in background mode,for example, send a newsletter.I don't want to wait until the page loads completely.I'm creating a mail object for each record of my newsletter suscriptors,I don't know if it would be better to use bcc with all records.

View Replies View Related

Background Extension

I got background in my left and right frames (tables) and on the background image there's a custom border on each side. I want the background to extend on a different resolution rather than repeat. Anyone know how I can pull this off?

View Replies View Related

Stop Background Flicker!

I am using two asp pages that have large (up to 1280X1024) background images. The image is the same on both pages, but when I go from one page to another it reloads the image each time and flickers for a second when loading because the file is so large. Is there a nifty way to keep the background image the same across two pages without reloading.

View Replies View Related

Forking Functrions To Background

Is it possible to make functions or system calls run in the background of an ASP script? I need to ping a numebr of different addresses, and as I could run these at the same time, it would make it a lot quicker, especially as a few of these addresses will always deliberatley time out, which holds the other pings back. I'd like to be able to run all simultaneously, but if i could at least run one ping (which i'm doing via a ping.dll module i found) in the background that would be great.

i've been searching around but for the life of me I can't find anything about this. does it exist at all?

View Replies View Related

CDO.Message Background Image

Is it possible to set an image as the background body image (non-repeating too) in a message sent using CDO. I don't want to embed an external webpage (I have to insert user form related variables back in the body of the email) and the image is on the server the mail is being generated from - have googled for ages on this one but can't seem to find
anything suitable...

View Replies View Related

Printing Background Colors

There is a setting in IE for "Print background colors and images."

I've noticed that without checking this option, a web page will print CSS
lines between table rows, but a background color of say the header won't.
The below style will display the borders in print preview, but won't display
the background color.

Does anyone know if it's possible to force background CSS or HTML colors to
print without having the user change the default in IE to not print
background colors? Code:

View Replies View Related

Run Stored Procedure In Background

I have a stored procedure that gets called from an ASP page. I had a requirement to adjust the stored procdure to have a delay, so now my browser waits for the stored procedure to complete before it returns the page and value I am looking for.

Is it possible to launch the stored proc from the ASP, but have it run in the background per say and return the value immediatley to the browser, cause the browser portion to not appear to be delayed?

View Replies View Related

Run Asp Page As A Background Process

I am using Win2k, IIS 5 and vbscript as well as asp.

I want to run an asp page that creates a PDF (using a third party ASPPDF dll) as a background process to free up the main website as it takes about 3-4 minutes to render the PDF.

Any ideas on how to do this or where to look?

View Replies View Related

Changing The Background Color

how to change the background color of a web form programatically from C#. I have found examples on the web for Visual Basic, but I can't get them to work in C#.

View Replies View Related

Forcing A Div Element To Background

Are there any div attributes that could force a div element to stay in the
background? I have a .vbs calendar class that opens a small calendar.

Unfortunately, sometimes it opens above a form element like a combo box and
the combo box shows on top of my calendar.

The combo in question happens to be within div tags because it hides/appears
depending on another form choice.

Any got any good links on forcing div elements to the background?

View Replies View Related

Cell Background Colors

I have a table with coloured cells. I want to print out the table via IE with the coloured cells. But the outcome of the table does not have the cells coloured.

Are there ways to force out the colouring of the cells in the print outs?Either via php/asp/css or any means.

View Replies View Related

Unable To Veiw Background Images

My background images are not appearing on the page. I am unsure why. I can see them on my on pc, but nobody else with the same computer configurations can see these background images. We are using XP, so I thought there may be a problem caused from this.

View Replies View Related

Alternating Table Background Colors

I know how to alternate table row bgcolor by odd/even method but what I am
trying to acheive is alternate colors by the date value in the database so
that each row with the same date value has the same bgcolor. There maybe 3
red rows for 1st date, then 2 blue rows for 2nd date, then 6 red rows for
next date etc.

View Replies View Related

Change ASP Web Form Background Color Programmatically

I have web page that I use for add/delete/modify records from a database. Depending on what the user desires on previous web page this particular web page allows users to add, modify, or delete the record from a database. Each has different directions and labels on buttons are change with in code.

My users also want the background color for add web page to be one color, modify web page to be different color, and delete web page third color. In VB this was form.background color, but can not seem to find solution in MSDN for this one.

View Replies View Related

Posting A Form In The Background And Accessing The Response As A Variable

I am using a new payment gateway for one of my sites. One of the options they recommend for submitting the credit card info involves submitting a form in "the background" with a post. They then return a comma-delimited string, which I can easily parse and act upon.

How do I submit a form in the background? I'm sure it's simple, I just never had to do it so I never learned how...

View Replies View Related

ASP Code - Anti Spam Verification Code

I'm looking for sample code that will require a use to enter a code from a scued image format.

I'm sure you've seen them before where the image is barely readable by a human and the user has to enter the code correctly to submit the form.

I'm looking for ASP code and NOT ASP.NET code as I am supporting a legacy site.

View Replies View Related

Asp Not Running

I've installed iis6.0 on win2003. All static content with
ssi etc rendered fine on the browser, but gives a 500
internal server error if i try access any asp page. The
log file says:

ASP_0134|Invalid_ProgID_attribute 80 - 127.0.0.1
Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1. 1.4322)
500 0 0

All the dll files are in place and I have enabled asp
scripting. Can anybody give me a clue as to where am I
going wrong?

View Replies View Related

Running ASP On A CD-ROM

I'm cobbling together an e-commerce site with thousands of items (spares, accessories etc) and want to distribute it as a catalog on CD. I don't fancy rewriting it to HTML. Is there any way to run the ASP and database on a CD-ROM. I've tried Dynamic-CD but it won't do the job and there is little or no help on their web site.

View Replies View Related

Running A VB Exe From ASP

I am trying to run a simple VB exe from the asp. I am using the following code

Set oWSH= Server.CreateObject("WScript.Shell")
oWSH.run "%COMSPEC% /C est est.exe",3, False

The exe is seen in the task manager. But it is not running. When I use this same command in the command window, it works fine. Can some please help me. It is for Intranet development. I am trying to run the exe in the server only.

View Replies View Related

ADO Running Under IIS

I have a new W2K3 box running IIS.Is there anything I have to install in order to use ADO?when I perform the following

Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open "mydsn"

I get the error

Provider error '80004005'
Unspecified error

View Replies View Related

IIS 5.1 Is Running

I had a windows xp professional and I install the windows component so that I can use the IIS 5.1 to test an ASP file. I went to start and click the run button and then type mmc. As soon as the mmc window opens I click the console but there is an error saying that there is nothing into it.

View Replies View Related







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