After the user logins in the program, I want that my program remembers the username of the last user and when the program reopens, the username filed is filled automatically with the username of that last user.
I want to know how to save and restore username. I dont want to use a database.