nshttpcookie Questions

7

Solved

I have an app that makes request to a REST service. Authentication is done using cookies. This already works. What I have problems with is to test the case when the cookie is no longer valid and m...
Cyrano asked 13/12, 2010 at 8:57

1

I'm trying to set a cookie programmatically but it's not working. The cookie gives the impression that it's valid. I then set it on the WKWebsiteDataStore.default().httpCookieStore. In the asynchro...
Fierro asked 28/2, 2018 at 18:44

2

Solved

I am working on a incongnito browser.I am using wkwebview when I clear all the cookies I can see that popular search engine like google remembers the searches that has been made. I tried cleaning ...
Eats asked 30/3, 2017 at 19:31

2

I'm trying to share WKWebView Cookies with UIWebView for getting all cookies. I know its very simple to get all cookies from UIWebView as compare WKWebView. I create two WebView's (WKWebView, UIW...
Coition asked 1/4, 2017 at 9:11

1

Solved

I want obtain all cookies from WKWebView. Why? I have been started a project that use web-based auth. As result, I should intercept cookies to be sure that user is logged in and for some other purp...
Bonnice asked 22/9, 2017 at 7:10

2

Solved

I am trying to create a webview (as an exercise) that does not track or store any browsing history locally. I have made it so that when the webview is closed, it calls the following [[NSURLSessio...
Blackout asked 24/3, 2017 at 8:20

0

I am trying to replace my working UIWebView project with WkWebView. I've seen many posts but i did't get any good solution for getting all cookies from WKWebView. I've also tried this evaluateJavaS...
Godin asked 19/12, 2016 at 6:39

1

Solved

I want to login many accounts of same site in different webView. For example i have Tab Bar Controller that contains three view controllers and each view controllers contain webView. And for exampl...
Pneumectomy asked 2/8, 2016 at 4:13

5

Solved

I want to embed an UIWebView into my MonoTouch application for an area that is not yet implemented natively. In order to authenticate with the website I want to set a cookie containing a key for t...
Quezada asked 22/2, 2012 at 14:29

2

Solved

In our iPhone app we use two cookies during server communication. One is a short session cookie (JSESSION), and the other is a long session cookie (REMEMBER ME). If an answer comes from the server,...
Fireweed asked 26/8, 2011 at 10:55

1

I am using iOS AVPlayer to play a HLS stream. In the beginning of the HLS session, when I receive index.m3u8 URL in response to create AVPlayerItem, the response also sets a cookie which is require...
Compatriot asked 7/6, 2013 at 20:48

1

My previous question was about the problem that I have to login each time for doing web services like posting a link or uploading a picture. Philipe answered that I have to use cookies instead of l...
Rhadamanthus asked 22/9, 2012 at 18:20

3

Solved

Struggling with this problem and loath to implement a custom cookie management system. It appears some hidden level of iOS's implementation of HTTP fails to manage sessionless cookies properly. An...
Variance asked 29/4, 2011 at 21:44

3

I need a log out button for my app, I have the below code: while ([[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies] count] != 0) { for (NSHTTPCookie *cookie in [[NSHTTPCookieStorage share...
Autodidact asked 21/4, 2011 at 16:28

1

Solved

In: This Question it is said AFNetworking takes care of cookies automatically in the background, but in a Previous question I asked, I was having trouble keeping the session on the server that was ...
Kaykaya asked 17/1, 2013 at 20:36

4

Solved

I'm developing an application where the server hands me a cookie to identify the user. My successive requests need to have that cookie to have the response that the user expects. What I can't unde...
Flynt asked 19/7, 2012 at 23:22

2

Solved

I'm having a problem with NSRange. Here is my code: NSRange range = [[[NSHTTPCookie requestHeaderFieldsWithCookies:[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:[NSURL URLWithString...
Sequestered asked 30/11, 2010 at 3:4
1

© 2022 - 2024 — McMap. All rights reserved.