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

Does this keeps user info safe on page refresh? #1

Closed
murli800 opened this issue Jun 22, 2015 · 4 comments
Closed

Does this keeps user info safe on page refresh? #1

murli800 opened this issue Jun 22, 2015 · 4 comments

Comments

@murli800
Copy link

Hi
Does this keeps user info safe on page refresh?

@signalpoint
Copy link
Owner

@murli800 Please clarify, I don't understand.

@murli800
Copy link
Author

@signalpoint . I tried to develop angular app and for storing data i used Drupal. The challenge i came across is to keep user logged in on browser on page refresh. If i refresh the browser data stored in routeScope get deleted.
So i want to know does this module handle it own its own or i need cookie to restore user info?

@signalpoint
Copy link
Owner

@murli800 Since Drupal uses cookie based authentication, the user should remain logged in as long as the session is valid. The trick is you need to call drupal.connect() in your app, which will then report to you which user account is currently logged in.

@murli800
Copy link
Author

@signalpoint Thanks for your quick suggestion. I will use your this module and rewrite my code as your code is much cleaner.

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

No branches or pull requests

2 participants