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);
and some other function but the cookie will not disapear.
IS there a function in API to disconnect user to the ticket ?
Hi Nicholas -
There currently isn't any way to destroy the session associated with the user via code. However, this is a feature request currently being considered by the dev. team.
Your best bet is to set the session timout to a low value, so that if the user isn't active for a certain amount of time, their session is expired...
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...