Vanishing cookies
Posted by: Marcus
Date: December 12, 2012 01:05AM

1) I have enabled (permanent) cookies for some sites.
Close K-meleon (1.5.4) and restart clear _all_ cookies.

2) I backup profile folder and restore it before rerun K-meleon - cookies are cleared.
3) So same when restore backup on running K-meleon (with VSS).

What the hell?
Where are my cookies?

Marcus

Re: Vanishing cookies
Posted by: deadlock
Date: December 12, 2012 02:34AM

@Marcus
bb2_screener_ cookie from kmeleon.sourceforge.net
will always expire 'at end of session'.

If you look at PREF cookie from .google.com
the value in 'Expires' depends on your
setting in network.cookie.lifetimePolicy
and maybe network.cookie.lifetime.days.

You can only reduce their lifetime, or create
and add fake versions yourself with kmm/javascript,

If not even google cookies survive a restart,
you may be using a content filter.
They can modify that value on the fly and
can tell gecko to keep the cookie forever.

Re: Vanishing cookies
Posted by: rodocop
Date: December 12, 2012 04:39AM

Try to use Cookie Culler - it can lock needed cookies from deletion.

Re: Vanishing cookies
Posted by: Marcus
Date: December 12, 2012 11:49AM

I'm just installed "Cookie Culler" and will try it.
Many thanks!

Marcus

Re: Vanishing cookies
Posted by: Marcus
Date: December 13, 2012 09:50AM

"Cookies Culler" do nothing - cookies are cleared after restart KM.
Now I will try about:config - kmeleon.plugin.privacy.clearcookies set to 0 (default 3)

Marcus

Re: Vanishing cookies
Posted by: deadlock
Date: December 13, 2012 12:26PM

@Marcus
I also tested with 'kmeleon.plugin.privacy.clearcookies,0',
but network.cookie.lifetimePolicy is the important setting.

Which KM package do you use?
Can you name a location where it happens?
We'll find a solution with more details.

Re: Vanishing cookies
Posted by: Marcus
Date: December 14, 2012 10:20AM

Quote
deadlock
@Marcus
I also tested with 'kmeleon.plugin.privacy.clearcookies,0',
but network.cookie.lifetimePolicy is the important setting.

"network.cookie.lifetimePolicy" is set = 3

Which KM package do you use?

Kmeleon SMgecko18124-update.

Can you name a location where it happens?

I don't understand "location". (Poland, Vista HP SP3, D:\Program Files\K-meleon\Profiles\)? K-meleon is set as default browser.
Some sites use cookies "username", "password" for login.
I need this for automated connect from countdown-timer.

We'll find a solution with more details.

Marcus.

Re: Vanishing cookies
Posted by: deadlock
Date: December 14, 2012 04:13PM

@Marcus
network.cookie.lifetimePolicy' is set = 3
If lifetimePolicy is set to 3, it uses
lifetime.days to decide to keep it.

I've used a value of 99999 days for testing:
network.cookie.lifetime.days set to 99999

1) Delete the .google.com PREF cookie
2) Open http://www.google.com/search?q=cookies
3) Close K-Meleon (do not use Exit)
4) Start K-Meleon -> look if it is still there

If it works, then your problem is not related to K-Meleon and
we'll try to set a cookie on KM start or open of the site.

If it doesn't work.
Check your computer timer.
If date is set to 1980 cookies will be deleted.

Can you post a link to SMgecko18124-update?
I'd like to test if it can keep cookies.

I can test your username/password cookie
if you post the url which sets the cookie.

Re: Vanishing cookies
Posted by: Marcus
Date: December 16, 2012 03:44PM

I suppose that file cookies.txt was corrupted.

"Cookie Culler" uninstaled - (because so same functionality are native in K-meleon 1.5.4), but I see in about:config
extensions.cookieculler.count = 4
extensions.cookieculler.pcookie0 = sitename.com;Username;/
extensions.cookieculler.pcookie1 = .sitename.com;_utma;/
extensions.cookieculler.pcookie2 = sitename.com;Password;/
extensions.cookieculler.pcookie3 = .sitename.com;_utmz;/

Warning! - Uninstall "Cookie Culler" don't clear about:config!

I set:
kmeleon.plugins.privacy.clearCookies = 0
and delete cookies.txt

After logon on web, all seems to be ok, - created new file cookies.txt
is working and periodically login by countdown-timer job.

K-Meleon forum is powered by Phorum.