I'm using FXRegistry to store the username and password, so that I can authenticate with my web service. When a user logs in, the username and password get written to the FXRegistry, and everything seems great. But when I exit out of the application and run it again, it doesn't seem to be able to ready from FXRegistry. I'm not sure what I'm doing wrong.
Here's the code,
regis = FXRegistry.new(APP_KEY, VENDOR_KEY)
regis.writeStringEntry("USER_CACHE", "username", usrTextField.text)
regis.writeStringEntry("USER_CACHE", "password", pwdTextField.text)
And here's how I read from it,
regis.readStringEntry("USER_CACHE", "username")
regis.readStringEntry("USER_CACHE", "password")