jeudi 12 septembre 2019

how to store an information which will be alive until the system is restarted?

I need to implement a feature for a product.

Requirement: A set of information has to be stored and it has to be deleted once the system (win / linux) is restarted.

If the application crashes, the information must still be available and accessible. But if the computer loses power, or if the user restarts the computer, the information should be deleted.

Currently i have written that information to a xml file. I need to find a way to clear that information , when the system is rebooted.

Having a script which will delete that file is not an ideal option because of the security issues around the product.

Aucun commentaire:

Enregistrer un commentaire