Results 1 to 2 of 2

Thread: Set Global Variable for Page that refreshes/min.!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    8

    Question

    Hi!,
    Any help would be appreciated.
    I have an ASP page which sends email when a certain condition occurs. I want the email(Alert) to be sent only once to the users, even though the condition persists.
    In normal condition I could just use a variable/flag to be set if once the email has been sent, but the problem I am having is that since the page "REFRESHES" every minute, the variable is initialized every minute and the emails get sent
    every min. as long as the condition persists.
    Can anybody tell me a way to solve this problem, apart from using global.asa. ?
    Do we have static variables in vbscript?
    Thanks for your help.

  2. #2
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Hi Jini,

    Check out this article:

    http://www.4guysfromrolla.com/webtech/060200-1.shtml

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