PDA

Click to See Complete Forum and Search --> : Set Global Variable for Page that refreshes/min.!


jini
Aug 1st, 2000, 08:35 AM
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.

compuGEEK
Aug 1st, 2000, 02:54 PM
Hi Jini,

Check out this article:

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