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

Database sessions #111

Merged
merged 5 commits into from
Jan 10, 2016
Merged

Database sessions #111

merged 5 commits into from
Jan 10, 2016

Conversation

sosedoff
Copy link
Owner

@sosedoff sosedoff commented Jan 9, 2016

Implements database sessions which will allow using pgweb for multiple database connections.
By default the feature is turned off, but could be easily enabled with --sessions CLI flag or when
SESSIONS environment variable is present.

Database sessions are unique per browser. Session ID is generate on the frontend and is stored in
localStorage. It should not be an issue for majority of modern browsers.

sosedoff added a commit that referenced this pull request Jan 10, 2016
@sosedoff sosedoff merged commit d12b686 into master Jan 10, 2016
@sosedoff sosedoff deleted the sessions branch January 10, 2016 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants