There was nothing to fix. My experiments showed me, that you cannot delete a
cookie in Firefox, if you give only the cookie name to document.cookie. The
path is a must, so it has to be written like:
qx.io.local.CookieApi.del("PHPSESSID","/");
Sebastian Werner wrote:
>
> Good question. This API
Good question. This API was developed years ago and ported from version
to version but I don't think that a lot of people actively use it. Maybe
you can have a look and try to fix it (and share the fixes with us,
please). Otherwise please open a bug report and put in all the details.
Thank you
Argh, that was not the trick. The cookie remains, but with value undefined.
:-(
westor wrote:
>
> OK, I find out, that I have to use:
> qx.io.local.CookieApi.set("PHPSESSID");
> then the cookie will be deleted.
> But why qx.io.local.CookieApi.del("PHPSESSID") isn't working? Is this a
> bug?
> T
OK, I find out, that I have to use:
qx.io.local.CookieApi.set("PHPSESSID");
then the cookie will be deleted.
But why qx.io.local.CookieApi.del("PHPSESSID") isn't working? Is this a bug?
The documentation about these 2 classes is missing and I wonder about what
qx.io.local.CookieTransport is for. A
Before I start my application, I set a cookie with php, named as PHPSESSID.
User login data are stored there. In the application I have a logout button.
On execute I want to kill the session and reload the page.
What I tryed:
- qx.io.local.CookieTransport.delAll();
- qx.io.local.CookieApi.del("P