>Well, it turns out there could be multiple MAC addresses, etc.
>
>I have an idea:
>
>You are logging into my app.
>If not file("ws_settings.txt") && in ws's home dir
> Create a ws_settings record (it has a guid())
> Create ws_settings.txt storing the guid in the file.
>endif
>If not file("ws_settings.txt")
> exit app
>endif
>Use the guid stored in ws_settings.txt to find the appropriate record in ws_settings table.
>
>Am I missing anything?
That seems appropriate.
Continuing from one of my previous messages, perhaps you will want to separate machine-specific settings, from user-specific settings. The part you are looking into now is the machine-specific settings.
As an example, the Visual Extend framework stores the following for each user, in DBF files, giving the effect of a "roaming profile":
The list of the last forms opened (under the "File" menu).
The position and size of each form.
The order and width of each column in a grid.
... and a few others more, but the ones above are the most noticeable ones.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)