Agent Data Persistence

The sample code doesn’t work. Does this just need updating or is it broken?

I’ve got it working but I will tell you that the null test doesn’t work, but using .len() works

Could you link to the sample that you’re working from? Of course we ought to fix it where it’s wrong.

Peter

@dmutterer is right. Sample Code assumes that server.load() returns null, it should be an empty table.

Good spot. The code is fixed now.