[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 73933] New: Javascript check for cookies fails
From: Scott Jubenville <scott () jubenville ! com>
Date: 2004-02-01 0:38:42
Message-ID: 20040201003842.27472.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=73933
Summary: Javascript check for cookies fails
Product: konqueror
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: kcookiejar
AssignedTo: bastian@kde.org
ReportedBy: scott@jubenville.com
Version: (using KDE KDE 3.2.0)
Installed from: Compiled From Sources
Compiler: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS: Linux
I updated to the rc1 of kde 3.2 from beta2. Both are ebuild found in the Gentoo \
portage system.
On accessing www.pcbanking.cibc.com the page uses javascript to check that cookies \
are enabled, but konqueror fails and is sent to a page saying cookies not enabled. \
Worked fine under beta2.
The code from the page that does the check is as follows:
<noscript><meta http-equiv="REFRESH" content="0; \
url=/bvtrx01/script-root-tran/authentication/BrowserSettings.cibc?locale=en_CA"></noscript>
<script language="JavaScript" type="text/javascript" \
src="/js/cookies.js"></script>
<script LANGUAGE=JAVASCRIPT>
<!--- hide script from old browsers
if((getSimpleCookie("PCBCookieCheck") != null && \
getSimpleCookie("PCBCookieCheck") == "1")) { setSimpleCookie("PCBCookieCheck", "2");
if(! (getSimpleCookie("PCBCookieCheck") != null && \
getSimpleCookie("PCBCookieCheck") == "2")) {
document.location="/bvtrx01/script-root-tran/authentication/BrowserSettings.cibc?locale=en_CA";
}
} else {
setSimpleCookie("PCBCookieCheck", "1");
if( !(getSimpleCookie("PCBCookieCheck") != null && \
getSimpleCookie("PCBCookieCheck") == "1")) {
document.location="/bvtrx01/script-root-tran/authentication/BrowserSettings.cibc?locale=en_CA";
}
}
// make sure there isn't an active session cookie lying around ...
document.cookie = "pcbToken=; path=/; secure=true; domain=cibc.com; \
expires=0";
//---->
</script>
<script language="JavaScript" type="text/javascript" \
src="/js/common.js"></script> <link rel="stylesheet" href="/css/style.css" \
type="text/css">
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic