Does NSURLConnection automatically persist cookies sent from server?

后端 未结 2 1934
抹茶落季
抹茶落季 2021-02-02 13:57

I logged into my tornado backend from ios and sent back a secure_cookie and i noticed that i could also request other information as long as i validated the secure_cookie that i

2条回答
  •  既然无缘
    2021-02-02 14:48

    You have to look into the cookie cache management from here This will help you to better understand how the caching for cookie is handled.

    There is another very good description, where it's mentioned that you can get the cookie from headers fields and then you have full control of it. If you want, store and use when application launched again.

    I hope this should help you to solve it.

提交回复
热议问题