user2090226
user2090226

Reputation: 97

How to make IsolatedStorageSettings persist even after the device is turned off?

First page of the my application requests the login ID and password which I store using isolated storage. I want my application to remember the login credentials even if the device is switched off i.e once the user logs in, the application should store the login values and on a user's next visit the login page should not appear and directly the second page should be displayed.

Can anybody help me do this???

Thanks in advance

Upvotes: 0

Views: 214

Answers (2)

Paul Annetts
Paul Annetts

Reputation: 9604

See the question: "for how long data in Isolated storage is persistent".

If you restart the Windows Phone emulator it is equivalent to deleting the application. This does not happen on a real phone.

Upvotes: 2

Pedro Lamas
Pedro Lamas

Reputation: 7233

You should call IsolatedStorageSettings.Save() in order to persist the changes to the settings class.

Upvotes: 0

Related Questions