Bug 19411 - Cookie file must be writable during browser session
Summary: Cookie file must be writable during browser session
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 10:33 PDT by Fabian Mailinator
Modified: 2008-06-07 20:47 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Mailinator 2008-06-06 10:33:54 PDT
In the past, it was possible to set the cookie file to be read-only. This allowed all
cookies to be flushed at the end of a browser session (emulating the firefox "session
only" cookie feature). When this was done, the browser behaved normally.

Unfortunately, safari now requires the cookie file to be writable *during* the browser
session. Apparently it is attempting to save it's in-memory cookie info to disk and 
then re-reads this data. Since it was not written, upon re-reading the cookie info disappears.


To reproduce:
1. on OSX, any modern version
2. Set cookie file to be read-only using info panel or terminal.
3. Attempt to log in to orkut.com
4. Click on any link after successfully logging in.
5. Note that you are no longer logged in.
Comment 1 Mark Rowe (bdash) 2008-06-06 13:58:38 PDT
WebKit does not handle cookies itself.  It relies on underlying system frameworks (Foundation and CFNetwork) to provide this functionality.  Bug reports about functionality these frameworks provide should be filed at http://bugreport.apple.com/.  This bug will be closed as INVALID per our policy for handling bugs that are outside of WebKit.
Comment 2 Fabian Mailinator 2008-06-07 20:47:29 PDT
<rdar://problem/5994040 >