0

how to store the session data using api

my app layer no connected with Da layer i am consuming data from api how to manage app layer session data with data base mongodb rest api

thanks in advance

1
  • i don't have database in my app layer i am getting data from api Commented Feb 12, 2015 at 10:53

1 Answer 1

1

I recommend you use JSON web token (jwt) http://jwt.io/

You can get session data everywhere. With JWT you are protected from CSRF attacks. JWT have strict standart and support many popular languages.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.