tmburge
05-02-2005, 06:17 PM
How do I force KoolMoves to free and reassign a variable? For example. I have a guestbook. A user posts a new entry (which is sent to MySQL as a record). When the user goes back to the guest book, I want them to see their entry. I have verified that the entry goes into MySQL, and here is what I do to try to get a new guestbook list:
guestbooktext = ""; // trying to clear this dynamic text variable
this.loadVariables("getentries.php","POST"); // creates the guestbooktext.txt file (this works)
loadVariables("guestbooktext.txt", "_root"); // attempt to reload the guestbooktext variable.
However, it does not work instantly...it takes a few minutes for the new file to be created...
guestbooktext = ""; // trying to clear this dynamic text variable
this.loadVariables("getentries.php","POST"); // creates the guestbooktext.txt file (this works)
loadVariables("guestbooktext.txt", "_root"); // attempt to reload the guestbooktext variable.
However, it does not work instantly...it takes a few minutes for the new file to be created...