What is the best practice of deleting helper objects after log out?

0
Hi guys   i want to delete some data after the user has logged out, what is the best practice to do this? I was thinking on: 1 - retrieve data via unactive sessions and then delete in background 2 - or i can delete the account since it is cascading delete behaviour and no data is kept in the app and we use saml to authentica...seems radical but no side-effects to me 3...your idea?
asked
1 answers
8

Not sure if it's a best practice. 

But if my helper object is persistent I personally added an association between the helper object and the current session. And set delete behavior to delete the helper object when the session gets deleted.

answered