473,383 Members | 1,834 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,383 software developers and data experts.

slow global.asa execution

Why are you running this in global.asa anyway? There has
to be at least 3 or 4 other BETTER ways to do this.

The easiest way would be to create a VB script file that
accomplishes the same thing (the code would be wuite
similiar to what you have now) and schedule that VB file
to run at 10:00 am every Friday morning using task
scheduler.

HTH,
John
-----Original Message-----
Hello All,

I have problem with sending mail using global.asa. I made my global.asa sothat every friday at 10.00 (actually when first new session start after thistime) send mail to my mailing list (it's automaticaly generate content ofmail). But problem is that my mailing list is pretty large (about 4000adresses), and it takes about 10 minutes to send all mail). And the userwho's started that session have to wait for 10 minutes ('till the global.asacomplete execution) to see first page. Is there any way in global.asa toinitiate execution of other asp page which will send mail???
Thanks
.

Jul 19 '05 #1
2 1830
Unfortenately, I haven't my own server, so I have shgared hosting, and I
cannot acceess scheduler. Also, my audience is from diferent part of Planet,
so I can't do in 4 AM.

But, thanks for trying to help me.

Jul 19 '05 #2
OK. Here's another option.

1. Create an APS page that accomplishes your mailing.
2. On someother computer (can be anywhere) schedule
Internet explorer (or your favorite web browser) to run
when you need your mailing to happen with the ASP page
created in step 1 as the page to load.

I.E. "C:\program files\internet
explorer" "http://www.yourserver.com/yourpage.asp"
The global.asa should be used to initialize your ASP
environment, not to run code.

HTH,
John


-----Original Message-----
Unfortenately, I haven't my own server, so I have shgared hosting, and Icannot acceess scheduler. Also, my audience is from diferent part of Planet,so I can't do in 4 AM.

But, thanks for trying to help me.

.

Jul 19 '05 #3

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

Similar topics

3
by: sarmin kho | last post by:
Hi Pythoners, i have been using a lot of global variables in the python script i am working on. the global variables are shared and used by all various 'definitions' : def name (): global all...
4
by: KS | last post by:
I have a button on a form that starts another form with this click-event code: Dim frmH As frmHelp If IsNothing(frmH) OrElse frmH.IsDisposed Then frmH = New frmHelp() Me.Opacity = 0.9...
1
by: Thomas Bartkus | last post by:
Is it possible that the elapsed time being measured includes waiting for the client to acknowledge that it has received all the data? In *addition* to the server execution time? Documentation...
7
by: Thomi Baechler | last post by:
Hello Everybody I run the following query against to identical databases. Execution time on the first DB is 0 seconds, on the other 6 seconds! SELECT dbo.HRMABZ.EMPKEY ,...
8
by: lawrence | last post by:
I'm learning Javascript. I downloaded a script for study. Please tell me how the variable "loop" can have scope in the first function when it is altered in the second function? It is not defined...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
16
by: Roman Ziak | last post by:
Hello, there were times when I used to be looking for a way to access JavaScript Global object similar to those found in VBScript or PHP ($GLOBALS). At present this has only academic value for...
3
by: User1014 | last post by:
A global variable is really just a property of the "Global Object", so what does that make a function defined in the global context? A method of the Global Object? ...
1
weaknessforcats
by: weaknessforcats | last post by:
C++: The Case Against Global Variables Summary This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.