AnsweredAssumed Answered

storing global variable on server

Question asked by kawaii on Jul 26, 2018
Latest reply on Jul 26, 2018 by philmodjunk



I  am currently working on a script that will be run weekly on the server. i'm pulling values and storing them into a local variable. each week, i have to check to see if the values change or not. i have tried storing my local variables into a global variable, and doing a check to see if last week's number stored in my global variable is lower than my current local variables. how do i hold that global variable week from week, my global variables seem to keep on flushing out and storing the current local ones that i just established? does a global variable hold on the server like this?


i also have been thinking of just adding in an if statement that will just check what week i'm in before flushing out my global variables. what do you guys think?