Unique server ID

Does Lucee have anything I can use as a unique identifier for a server? Like a serial number - something internal though.

You could generate a CreateUUID() and set on the Application Scope

2 Likes

I’m looking for something that would persist through a reboot.

put it in the application stack or give your hostname a uuid name by creating the UUID to a temp file then injecting that into the hostname…