-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make sessions more robust #20
Comments
If a user has logged in, they do not need to log in again upon page refresh. However, their name is not displayed in the welcome message in the top right corner. Not sure if sessions ever timeout or just remain indefinitely. |
you can set the session timeout time somewhat like this: |
will be handled on the server side. Will be using tokens instead of sessions because angularjs likes tokens and it allows for mobile integration |
We are now considering adding any event in the cart to our purchase history database with a new column "open/close or purchase status". If an item gets "checkout" then, it will close, otherwise, it will remain open |
Add zip code to token, working on storing token into a cookie so that whenever user info is being called on the client side, it will refer to the cookie rather than the token |
will be using localStorage instead of cookies as it is just as persistent, more secure and better supported across different platforms |
Adding feature: default username is set to "Guest" and username is stored as $localStorage |
Need to change userLogin to POST request rather than GET requests |
No description provided.
The text was updated successfully, but these errors were encountered: