473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Internet Explorer 11 - Cookies not saving passed session

I'm having an issue with Internet Explorer 11, the issue we have is that our cookies dosen't save passed session, so as soon as a customer kills the browser and then starts it up again the cookies are gone in the wind.

info:
1. Website is a Python based website.
2. Cookies get set using Simple Cookie from python.
3. Cookies have an expire reaching for 1 year.
4. Cookies have the correct path.(Path is set to '/')
5. Cookies have the correct domain.
6. We are able to extract data from the cookie during session.


What i've checked/done:
1. Checked Safety Mode to make sure it's not on and not preventing the cookies to be set.
2. Double checked the cookies to make sure they are actually getting set and they are, they are there.
3. Made sure the cookies get set correctly and are readable by internet explorer.
4. Checked other browsers(Chrome, Firefox) They work perfectly fine there, the issue seams limited to IE11.


Code where cookies are saved looks like this(Python):
**self.cookie is Simple Cookie.
**data is a string

Expand|Select|Wrap|Line Numbers
  1. expiration = datetime.datetime.now() + datetime.timedelta(seconds=3600*24*365)
  2. self.cookie[self.prepend + key] = data
  3. self.cookie[self.prepend + key]['expires'] = expiration.strftime('%a, %d-%b-%Y %H:%M:%S PST')
  4. self.cookie[self.prepend + key]['domain'] = self.domain
  5. self.cookie[self.prepend + key]['path'] = '/'
  6.  

If you need any more information from me, just ask and i provide it if possible, i would be grateful for your help as i can't figure this one out.
Oct 30 '19 #1
0 1740

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Justin | last post by:
Need help.. I am creating cookies in php, which works fine in Mozilla in the same session, for example I can create them and then go to another page and then come back to the page and see the...
0
by: Florian Fredegar Haftmann | last post by:
Hi! For a regression test setup on web interfaces, I use a test tool which in a very heavywight fashion uses the COM interface to the Internet Explorer (of course, from Python, ver 2.3.4,...
5
by: Adam Stirk | last post by:
Hi, I have a application that I need to create multiple new "iexplore.exe" processes (show more than once in taskmanger) and control them using the shdocvw/mshtml. I am able control Internet...
6
by: tinkerman | last post by:
Hello net friends, I need to automate Internet Explorer in a very simple way. I need to: 1. press refresh (F5) on the currently loaded website. 2. press END button. 3. Click a button...
1
by: Apu Nahasapeemapetilon | last post by:
Hello and thank you in advance for your help. Can anyone think of a reason why this code would work properly on one PC, but not another? I've got a System.Windows.Forms.UserControl that...
11
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in...
26
by: Prisoner at War | last post by:
Hi, All: I have a JavaScript search engine that always causes MSIE 7 to do a top-of-page security "warning" (that top-of-page-bar, and not an "alert" )...but other websites' JavaScripts do not...
2
by: sophie_newbie | last post by:
Hi, I'm using the python to set a cookie when a user logs in. Thing is it doesn't seem to be setting properly in Internet Explorer. It works grand in Firefox. Its basically: c =...
1
by: avpkills2002 | last post by:
I seem to be getting this weird problem in Internet explorer. I have written a code for parsing a XML file and displaying the output. The code works perfectly fine with ffx(Firefox).However is not...
1
by: shiva raju | last post by:
i have problem in only internet explorer,its work good in google chrome, i have problem in below code. when i want to call delete cookie, cookies are deleted but the below function is not called for...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.