Hello Group,
I have a string that acts as an events log that I print out to the webpage. The string is defined as a blank global string before the function is defined, and as the code is executed, more and more information is concatenated to the string.
The problem is that every time a form is submitted or the page is refreshed, the string is set back to blank. I tried working around this by using the sessions class to store the variable and even using the web2py Storage class to store away the variable in a dictionary, but neither method worked. I was wondering if anyone has a solution to this?
Thanks in advance!