Cookie delete bug

0
0

Hi!

I want to delete a cookie and log out, but it only works when I have a MessageBox before exiting.

May you help me, please?

Note: example attached.

Thanks,
Ulisses.

Attachment
  • You must to post comments
0
0

Hi Ulisses,

#1960 is fixed in 2.0.56 and 2.1.8

Best regards
Frank

  • You must to post comments
0
0

Hi Ulisses,

You have two main options as a workaround:

  1. Delete the cookie from the default.html file:
<script>
        Wisej.onExit = function () {

            Wisej.Platform.setCookie("Test", null);
            location.reload();

        };
    </script>

2. Ask the client to manually terminate after the cookies have been removed (without calling Application.Exit()):

Application.Cookies.Remove("Test")
     Application.Call("exit")

Let me know if these work for you!

Best regards,

Levie

  • Ulisses
    Thanks, Levie! I’ll test it!
  • You must to post comments
0
0

Hi Ulisses,

Thanks for reporting!  It’s logged as issue #1960.  I’ll keep you updated on the status of the issue!

Best regards,

Levie

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.