Answer the question
In order to leave comments, you need to log in
Why is it that when the Chrome browser is set to “Open on startup” -> “New tab”, then local data is not saved when the browser is restarted?
Neither cookies nor localStorage are saved. I usually save like this:
Cookie.set('token', token.toString()); //куки
localStorage.setItem('user_id', res.id.toString()) // LocalStorage
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question