?
Solved

JavaScript Cookies not Passing on Internet Explorer

Posted on 2010-11-22
5
Medium Priority
?
486 Views
Last Modified: 2013-12-08
JavaScript cookies is not passing from one page to the next on Internet Explorer 8.  I am using
setCookie() and getCookie() commands to pass cookies.  The cookies are however working on
local browser page.  Also, they are passing fine using Safari browser.

Thanks,

Dan  
0
Comment
Question by:danielolorenz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 57

Expert Comment

by:HainKurt
ID: 34189610
any link to test?

install fiddler to see what is passed from page to page...

(to debug localhost, use ip instead)
0
 

Author Comment

by:danielolorenz
ID: 34189899
We haven't got our application out there yet.  Is there way way to test the cookies page passing from
page to page using a local directory structure?

Thanks,

Dan
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 34190159
1. setCookie and getCookie from where. 99% of all cookie scripts are calling their code setCookie and getCookie
2. IE does not normally like to set cookies on pages loaded from file system since there is no recognisable domain.

Does it work on a server?
0
 

Author Comment

by:danielolorenz
ID: 34190693
I don't know yet.  I haven't put it out on the server yet.  Is there a temporary solution? Do you need a web server?

Thanks,

Dan
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 2000 total points
ID: 34191653
Normally for IE you need a server for cookies.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question