Solved

JavaScript Cookies not Passing on Internet Explorer

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now