By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,395 Members | 2,524 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,395 IT Pros & Developers. It's quick & easy.

problem calling function to set cookies after deleting in Internet Explorer

P: 1
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
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
how do you delete cookies?
Nov 22 '11 #2

Post your reply

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