How to set auth token in cookies in Safari Private mode?

时间:2016-10-20 13:11:34

标签: javascript php angularjs cookies safari

I have an Angular1 app with token based authorization. I want to save auth token in cookies or Local/SessionStorage, but when I want to do it in Safari Private mode, "Quota Exceed" exception raises. I checked Github and Twitter in Safari Private mode and they successfully set tokens in cookies. How did they do it? At backend? If so, how to do it with PHP?

0 个答案:

没有答案