L
L
Lenar Mutigullin2017-04-26 11:47:05
JavaScript
Lenar Mutigullin, 2017-04-26 11:47:05

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 question

Ask a Question

731 491 924 answers to any question