This topic is locked
[SOLVED]

How to create local settings

7/24/2022 5:42:34 PM
PHPRunner General questions
Davor Geci authorDevClub member

Hello,
how could we create local settings with PHPRunner hosted on a web server?
For example, if we want to create a page with local settings that would be stored on the user machine, or in the database but to be able to identify the workstation that the user is using the application on.
In my case every workstation is having it's ows tablet where the user is entering some data, and would need to autopopulate some fields so that the user doesn't need to enter everytime that he is working on that workstation (tablet).

Sergey Kornilov admin 7/25/2022

If you are looking to save something on a local device, check Javascript localStorage. Here is a good article:
https://javascript.info/localstorage

Davor Geci authorDevClub member 7/27/2022

Thank you for the solution.
So now to use it would you suggest to create a dummy table with dummy fields and load and store data from the localstorage with javascript