• 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
NSHTTPCookie not writing cookie in 10.4 for safari.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSHTTPCookie not writing cookie in 10.4 for safari.


  • Subject: NSHTTPCookie not writing cookie in 10.4 for safari.
  • From: Aby <email@hidden>
  • Date: Wed, 23 Sep 2009 20:32:42 +0530

Hi,

Im am using NSHTTPCookie for storing on to the safari cookie database.

When i'm running this code on 10.5 and 10.6 its working fine. But in 10.4
the NSHTTPCookie is not writing the same.


My code is as follows :


{


NSDictionary * aDict = [NSDictionary dictionaryWithObjectsAndKeys:
@"CookieDomain", NSHTTPCookieDomain,     @"999999",  NSHTTPCookieMaximumAge,

  @"CookieName",  NSHTTPCookieName,

     @"true", NSHTTPCookieValue,

                          @"/", NSHTTPCookiePath,

                                                                  @"1",
NSHTTPCookieVersion,

  nil];


NSHTTPCookie *aCookie = [NSHTTPCookie cookieWithProperties:aDict];

[[NSHTTPCookieStorage sharedHTTPCookieStorage]
setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];

[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookie:aCookie];


}


Also in 10.5 and 10.6 a new cookie entry is getting added with the name *bpp
*. Don't know how its getting added.


anything missing in this code ?


Thanks in advance.
--
Aby
_______________________________________________

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

  • Prev by Date: Re: Strategies for tracking a tricky (typing) slowdown/lag bug
  • Next by Date: Re: Stability on Snow Leopard
  • Previous by thread: Re: CFBundleShortVersionString mystery
  • Next by thread: Multiline label allignment issue.
  • Index(es):
    • Date
    • Thread