javascript - Single page cookie issue
过去多啦不再A梦
过去多啦不再A梦 2017-05-19 10:11:39
0
2
511

angular2 application, use js to set the cookie when logging in, then exit and delete the cookie, confirm that the cookie no longer exists, enter the previous login link in the url, and the cookie appears again, why? How to solve it

过去多啦不再A梦
过去多啦不再A梦

reply all(2)
習慣沉默

It has been changed. Angular’s ​​cookies need to use DI injection. If you change it to Service, it will be ok

大家讲道理

Did you write down the user ID, then adjust the interface every time you go to this page, and then write it in again?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template