1 Reply Latest reply on Nov 24, 2013 4:59 PM by Russell Christopher

    trusted auth >> cookie delete

    nicolas.allerhand

      Hi,

       

      I would like to delete tableau cookies when the user log out.

      when login, with username, i get tickets from tableau server and I want cancel it when the user log out.

      I've tried :

       

      if (Request.Cookies["cookie"] != null)

                          {

                              HttpCookie myCookie = new HttpCookie("cookie");

                              myCookie.Expires = DateTime.Now.AddDays(-1d);

                              Response.Cookies.Add(myCookie);

                          }

       

      and some other function but the cookie will not disapear.

      IS there a function in API to disconnect user to the ticket ?

       

      Thanks