Server globals
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Fri Aug 12 08:26:45 EDT 2022
Hi Tim,
does the variable have a user specific value or a value, that changes from time to time, but is the same for all users?
I've done something some time ago and used a text file on the server which stored that value. In my case the value was not user specific so it was an easy task.
If the variable is user specific, why don't you use a cookies for that? That will grant that the value is available at all pages in the same domain.
Regards,
Matthias
> Am 12.08.2022 um 13:27 schrieb Tim Selander via use-livecode <use-livecode at lists.runrev.com>:
>
> As always, appreciate everyone's help.
>
> Have made several little projects using LC Server on the on-rev.com host. For the first time, I would like a global variable -- that is a variable that would retain it's value even if the page is re-loaded. Or if a user goes to another .lc page/file in the domain.
>
> All my playing around, and Googling around, has been for nought. Is there a way to hang on to a bit of data was you move around pages in the same domain?
>
> Thanks.
>
> Tim Selander
> Tokyo, Japan
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list