Bug 68582

Summary: Allow per-site cookie handling to override session cookie settings
Product: [Applications] konqueror Reporter: hdbgnis02
Component: kcookiejarAssignee: Konqueror Developers <konq-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: greg_g, unggnu, yellow
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hdbgnis02 2003-11-19 15:09:24 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
OS:          Linux

Currently, the "Treat all cookies as session cookies" treats ALL cookies as session cookies, including all site specific cookie policies with "Accept" on. It would be nice to have an extra option that allows site specific cookies to override the "Treat all cookies as session cookies" option, so that site specific cookies will keep the cookies even when the browser exits, while the rest of the cookies gets deleted.

This would allow me to maintain my cookie settings for certain websites I define (webmail, etc...) while everything else is treated as session cookies.
Comment 1 Malte S. Stretz 2004-02-23 17:05:37 UTC
This wish is similar to bug 54300 but not the same. (This comment serves the only purpose of addin a cross-ref between these bugs.)
Comment 2 Ricardo Garcia 2006-07-23 10:07:45 UTC
I consider this bug very important. I know what I'm going to say is merely anecdotic, but: my browsing needs are not very complicated, and Firefox is able to do this. It's probably the only remaining feature that keeps me using Firefox, because apart from this Konqueror is an excellent browser.

Furthermore, it's the natural way of doing things, IMHO. I was "surprised" when, after marking "Treat all cookies as session cookies", the rest of options below where disabled. That should be independent. You could treat all cookies as session cookies and still be able to change the Default Policy, or to set exceptions in order to build whitelists and blacklists of trusted and evil sites.

Thanks for your attention and keep up the good work.
Comment 3 Tarlika Elisabeth Schmitz 2006-11-06 15:17:37 UTC
This is exactly how Mozilla handles cookies:
In Preferences you can set all cookies to be treated as session cookies. This can be overridden in the cookie manager by adding sites that are allowed to set cookies.

Although konqueror is my preferred browser, I still use Mozilla for the sites whose cookies I want to keep.
Comment 4 Miguel Angel Lopez 2007-03-18 13:19:45 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Gregorio Guidi 2009-03-08 21:46:23 UTC
The patches proposed for bug 54300 should solve this bug, too.