Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private Browser Mode #23

Closed
ianaya89 opened this issue Jan 3, 2015 · 2 comments
Closed

Private Browser Mode #23

ianaya89 opened this issue Jan 3, 2015 · 2 comments
Labels

Comments

@ianaya89
Copy link

ianaya89 commented Jan 3, 2015

I want to know if forerunner still works if the browser is in private mode.
It will probably work with Chrome Incognito but for example I know that Safari disallow cookies and browser storage when you are using the private mode.

Do you have a way to keep storing data in this case?

thanks

@Irrelon
Copy link
Owner

Irrelon commented Jan 5, 2015

ForerunnerDB will operate in any browsing mode where JavaScript is allowed to run and is fully supported.

The persistence plugin (storage) will be affected by whatever rules the browser imposes regarding storage when in a particular mode and it will require checking individual browser details to determine that.

Forerunner's persistence plugin makes no attempt to subvert the browser's control over storage.

You should always write your applications with the idea in mind that the end user has none of your data first. Then you can add in checks to see if persistent data exists or not. Remember that the user can also kill any persistent data at any time via their browser settings so don't rely on the data being persistent for your application to operate!

With all of that said, we are working on a new delta-update system that will auto-replicate data into an eventually-consistent state. This will allow clients to effectively auto-request missing data when the database starts and bring your clients into a consistent state over time. :)

@ianaya89
Copy link
Author

ianaya89 commented Jan 5, 2015

Good to know,

thanks for the reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants