User283571144 posted
Hi deadManN,
using mongoDB data structure, Microsoft Identity Interfaces, and angularjs 1.x, for both view, and admin panel, but after many tries i left the Token based authentication behind, wish to authenticate
using normal methods...
As far as I know, if you try to use identity in the MVC project, it will auto genreate a token and store the token in the client browser after user login successfully.
If you don't want to use cookie, it is too hard to store the token to the client side.
If user doesn't have the token, the project will redirect the user to the login page when user wants to access some new page.
So normally we will use cookie(or other client storage) to keep the user's login information to avoid login multiple times.
i wrote whole story once, but after wrong click and choose "stay on page" every thing got disapear after moving to another page... and it's late as it's mid-night. so i skip the story if you
allow me, here is the codes...
According to your description and codes, I couldn't understand clearly about your issue,
Do you mean you couldn't keep the user login information after changed the page?
Does you application force user login after moved to another page?
What does the wrong click and choose "stay on page mean?
If you could post more details information, it will be more easily for us to understand your issue and find the solution.
Best Regards,
Brando