Cookies

Post bugs here!

Cookies

Postby joedarock » Mon Aug 29, 2016 1:08 pm

I use cookies in my app. They were working fine until I upgraded to CrossUI Ver 1.4; now they don't work. I tried this code from the API documentation, which runs OK in the API documentation's demo 'run' environment, but doesn't work within my app under 1.4:

var o = xui.Cookies;
o.set('a','b',1);
alert(o.get('a'));
o.remove('a');
alert(o.get('a'));

All my cookie code does work in versions of the app that I built under 1.2.


Can you advise?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Cookies

Postby support » Tue Aug 30, 2016 2:19 am

Any error info?

Or, to check whether xui.Cookies exists or not?
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am

Re: Cookies

Postby joedarock » Tue Aug 30, 2016 12:07 pm

I've determined that Cookies DO work, but only in the deployed version. Should/can they work in the development version?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Cookies

Postby support » Wed Aug 31, 2016 1:55 am

The Builder use cookies too, so we have to clear the user's cookies in debug mode.
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am


Return to Bug Report

Who is online

Users browsing this forum: No registered users and 0 guests

cron