Writing and read from file

Q&A about the latest versions
Post Reply
teeray
Posts: 9
Joined: Fri Aug 14, 2020 10:52 pm

Hello, dear ones!!!

I have a question or need, if you like :D . It is as follows. Is it possible to make a global counter in some simple way? Let's say a file that will be stored on the server so that it is triggered not inside the tour, every time the tour is launched, but globally. For example, I have a script that fires under certain conditions, what if I want it to fire only a limited number of times for a certain number of visitors? It won’t be possible to do this inside a tour, since every time a user visits a site/tour, all the scripts in it are triggered anew. Is it possible to create a file, for example TXT, and write the number from the skin into it, as well as read the current number from it? and thereby edit the triggering of the script inside the tour? Perhaps there are some other ideas? Thank you in advance for your incomparable help! :)
Post Reply