Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > IE6 always rejects a particular cookie regardless of privacy/cookie setting

Reply
Thread Tools

IE6 always rejects a particular cookie regardless of privacy/cookie setting

 
 
Timur Tabi
Guest
Posts: n/a
 
      05-13-2004
I have an embedded system with a web interface. One of the web pages
has a small JavaScript program that, when run on IE6, always displays
the message that cookies need to be enabled:

if (document.cookie.indexOf('asm_session') == -1)
{
document.cookie = 'asm_session=0';
if (document.cookie.indexOf('asm_session') == -1)
{
document.write("Advanced System Management access requires
cookies to be enabled."+'<br><br>');
}
}

This problem only occurs with IE6, not Mozilla. It also only happens
on some of the embedded systems, but this problem exists for everyone
running IE6.

The problem isn't limited to the Javascript code, either. On another
web page from this embedded system, a cookie is set the normal way,
via the HTTP header. This cookie is also rejected.

When I display any page that attempts to set a cookie, IE6 displays
the blocked icon and says that cookies on that URL are blocked.
However, I have set all privacy and cookie options to their most
permissive. I've spent the past hour changing every option I can find
that's even remotely related to cookies and privacy, and nothing
changes. Does anyone have any idea what's going on?
 
Reply With Quote
 
 
 
 
Timur Tabi
Guest
Posts: n/a
 
      05-14-2004
(Timur Tabi) wrote in message news:<. com>...
> I have an embedded system with a web interface. One of the web pages
> has a small JavaScript program that, when run on IE6, always displays
> the message that cookies need to be enabled:


Never mind, the problem was the hostname had an underscore in it.
This is a known bug in IE.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Question: Why is it that Windows Explorer (WinXP Pro SP3) always opens at My Documents, regardless of what you have it set to Start In Peter Foldes Computer Support 1 08-02-2010 12:03 PM
Re: Question: Why is it that Windows Explorer (WinXP Pro SP3) always opens at My Documents, regardless of what you have it set to Start In Ctrl¤/Alt¤/Del¤ Computer Support 0 08-02-2010 03:32 AM
Re: Question: Why is it that Windows Explorer (WinXP Pro SP3) always opens at My Documents, regardless of what you have it set to Start In Bert Hyman Computer Support 0 07-31-2010 03:23 PM
Default runtime error page regardless of customerrors setting kristan.mcdonald@googlemail.com ASP .Net 4 06-09-2006 12:13 PM
SMTP server rejects sender's email address Klaatu Computer Support 13 05-22-2004 07:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57