clearing Cookie saved by bstatesave
clearing Cookie saved by bstatesave
Sunil Kumar
Posts: 17Questions: 11Answers: 0
How to clear cookie saved by bstateSave exactly when the user logout.I can not use iCookieDuration because i don't know when user logout.
This discussion has been closed.
Answers
You can clear in the API with
state.clear()
, or if you look at the page forstateSave
, you'll see it's either inlocalStorage
orsessionStorage
, so you can delete direct from there.Colin