Bug 176731

Summary: Konqueror logs you out from Digg.com too quickly
Product: [Applications] konqueror Reporter: Jure Repinc <jlp>
Component: kcookiejarAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jure Repinc 2008-12-02 18:54:44 UTC
Version:            (using Devel)
Compiler:          GCC 4.3.2 AMD64
OS:                Linux
Installed from:    Compiled sources

While browsing Digg.com you often get loged out while you should still be loged in. I did select the Remeber Me option when loging in. In Firefox I remain loged in even if I close Konqueror and then restart it. In Konqueror I get loged out even withing the same session.

I've tried to check the cookies that get saved for digg and I noticed a strange thing. digg.com is listed twice in cookie manager. I guess it should be there only once. And if I try to expand any of digg.com entries nothing shows inside it. As if the cookies didn't actually get saved.

Reproducable: always

Steps to reproduce:
1. visit http://digg.com/
2. Log in and make sure you check Remeber Me
3. Browse around Digg for a few minutes

Actual Result:
After a few minutes you will notice you are no longer loged in.

Expected:
Konqueror should no automatically log you out. At least not within the same session.
Comment 1 Dawit Alemayehu 2009-12-18 23:14:32 UTC
SVN commit 1063612 by adawit:

- Fixed parsing of cookie expiration dates. This resolves the problem of 
  non-session cookies being treated as session ones. 
- Fixed problems with the recent Y2K38 fix.

CCBUG: 145244 
CCBUG: 176731
CCBUG: 187792
CCBUG: 191318



 M  +36 -40    kcookiejar.cpp  
 M  +5 -1      kcookiejar.h  
 M  +9 -4      tests/cookie.test  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1063612
Comment 2 Dawit Alemayehu 2010-08-18 09:49:48 UTC
See commit in comment #1.