• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Separate WebViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Separate WebViews?


  • Subject: Re: Separate WebViews?
  • From: Izidor Jerebic <email@hidden>
  • Date: Tue, 29 Sep 2009 09:24:21 +0200


On 29.9.2009, at 7:16, Jens Alfke wrote:


On Sep 28, 2009, at 1:49 AM, charlie dropbox wrote:

I was looking around for cookie state or some separation of data sharing between WebViews.

There's a singleton NSHTTPCookieStorage object that you can use to interact with cookie storage. But the design is such that there is one single set of cookies shared by all WebViews, and actually by all apps that use the NSURLxxx classes or CFNetwork. In short, I don't think you can have two WebViews with different login states at the same time.

Some websites check for cookies and if they are disabled, they pass info via url parameters. You could disable cookies and check if website will pass session state via url parameters.



izidor

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Separate WebViews? (From: charlie dropbox <email@hidden>)
 >Re: Separate WebViews? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Separate WebViews?
  • Next by Date: Severeal Views, One Webview in MainMenu.xib
  • Previous by thread: Re: Separate WebViews?
  • Next by thread: Severeal Views, One Webview in MainMenu.xib
  • Index(es):
    • Date
    • Thread