Solved

JavaScript Cookies not Passing on Internet Explorer

Posted on 2010-11-22
5
475 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
  • 2
  • 2
5 Comments
 
LVL 51

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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
adding text to textboxes based on dropbox choice 13 43
Javasctipt 2 25
Enterprise Mode 4 29
Optimize simple Javascript code to use no repetitions 12 31
Several part series to implement Internet Explorer 11 Enterprise Mode
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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)
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.

770 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