Results 1 to 4 of 4

Thread: global.asa

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298

    global.asa

    Hi,
    Im working on sending emails from ASP. I have the list of email addresses in a table. I have to query the database to get the list of email addresses and then send the mails. My question is how do i automate this process?? one way is to use the

    Code:
    <meta http-equiv="refresh" content="60">
    to refresh my page.( this will refresh the page every 1 min.)

    but is this possible in global.asa?? if not, is there any way of a similar process using the global.asa???

    thanx a ton!

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    No its not. It would also be a bad idea if you could becuase it would start a new session every minute.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    ok, then is there a way to repeat the code after a particular interval of time? in vbscript i can use the

    window.settimeout statement

    to repeat my code...what about in ASP? is there amy way??

    thanx.

  4. #4
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Whatever it is it will have to be client-side if you want the page to refresh. The client has to request the page form the server, the server can't just force the client to refresh.

    Maybe you should just serve a page with the meta tags you showed.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width