Answer the question
In order to leave comments, you need to log in
How to use sessions in in ASP.Net Core Web.api + react application?
Hello. I have a question about sessions. If backend is REST architecture and front is js. Where to initialize sessions? If you can use sessionStorage on js, but they say it's not right to do so. Then it turns out it needs to be done in the backend? If so, then how to track them, constantly send a get request?
That is, it turns out that in order to interact with the session, you need to constantly use ajax, as for me sessionStorage is much cheaper to use ... Tell me
how it's done in general, I used to work only with WebForms and mvc, and I'm just now starting to study React
Answer the question
In order to leave comments, you need to log in
If you can use sessionStorage on js, but they say it's not right to do so.
If so, then how to track them, constantly send a get request?
That is, it turns out that in order to interact with the session, you need to constantly use ajax, as for me sessionStorage is much cheaper to use ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question