2 Replies Latest reply on Oct 20, 2015 5:35 AM by GOOFELVIS

    cookies not setting on Windows Mobile Embedded 6.5

    Rookie

      I've got two Motola MC 9190 scanners. Set up as follows.

       

      Scanner 1  - Windows CE 5.0, Wavelink Telnet CE 7.0.94 - Web emulation profile.
      Scanner 2 - Windows Mobile 6.5, Wavelink Telnet CE 7.0.147 - Web emulation profile.

       

       

      Can someone explain why Scanner 2 is unable to set and unset a cookie? Any help appreciated. This webpage works fine on iOS, Chrome, Firefox, Sanner1 using IE or Wavelink ..
      The other odd thing is that if I use the Zetakey browser on Scanner 2, that works fine  and also the embedded IE browser works fine, it's just the Wavelink Telnet CE browser that doesn't work on Sanner 2

       

      any help appreciated.

       

      function setCookie(cname, cvalue)

      {   

          document.cookie = cname + "=" + cvalue + ";";

      }

       

      function getCookie(cname)

      {

          var name = cname + "=";

          var ca = document.cookie.split(';');

          for(var i=0; i<ca.length; i++) {

              var c = ca[i];

              while (c.charAt(0)==' ') c = c.substring(1);

              if (c.indexOf(name) == 0) return c.substring(name.length,c.length);

          }

          return "";   

          //return $.cookie(cookieName); ----> I've had to remove the jQuery code because it just doesn't like this either!

      }