473,405 Members | 2,338 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.

problem calling function to set cookies after deleting in Internet Explorer

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 set cookie after deleting. please help me.

Expand|Select|Wrap|Line Numbers
  1. if (!useCookie) {
  2.                 cookieIsSet = setCookie("incrSize", myStepSize + myCookieSize, now);
  3.                 cookieIsSet = setCookie("incrStyleSize", myStepStyleSize + myCookieStyleSize, now);
  4.                 cookieIsSet = setCookie("currentPosition", currPostion, now);
  5.                 window.alert("myCookieSize " + myCookieSize + " myCookieStyleSize " + myCookieStyleSize);
  6.                 if (alertEnabled && !cookieIsSet) {
  7.                     alert("Cookie is not set");
  8.                 }
  9.             }
  10.  
this my code for set the cookie,its work good every button click cookies r set,but its is not work when i want delete cookie. please any one help me
Nov 22 '11 #1
1 1909
Dormilich
8,658 Expert Mod 8TB
how do you delete cookies?
Nov 22 '11 #2

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...
2
by: Marc | last post by:
Hello, I have a form. On submit I want a javaScript to check if any fields are filled in and if so, if the fields that correspond to the filled - in fields are also filled in. I wrote a js...
3
by: JCharlie | last post by:
hi all. I´ve a problem with x button on internet explorer. Some users fills an informative form, they push x button and i don´t save the information. How can i disable the x button on internet...
2
by: exr | last post by:
The project I am doing requires custom functionality from a DLL executed from with Internet Explorer. The DLL is written in VB 2005. The DLL resides on the local machine, where it is registered...
3
by: Robert | last post by:
Hi, I thought I pretty much understood the whole prototype chain stuff, but now I stumbled upon a difference between IE and Firefox, that is totally confusing me. An example.......
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
drhowarddrfine
by: drhowarddrfine | last post by:
I was given some code for a web app that needs to remove an existing cookie. The code does "Set-Cookie" and sets an expiration date in the past so the cookie gets removed. This works in all the...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.