Solved

JavaScript Cookies not Passing on Internet Explorer

Posted on 2010-11-22
5
484 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 55

Expert Comment

by:Huseyin KAHRAMAN
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 500 total points
ID: 34191653
Normally for IE you need a server for cookies.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

691 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