# Clear session

![](https://1449034948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_NpOsk0sjotPXNy29Q%2Fuploads%2FauuBJ7Hgkz6jtkFqtKYx%2Fdelete-session-node.svg?alt=media\&token=ff0646b8-6e5e-4ed2-b3f4-7db124c9f76b)

The clear session node is used to delete the current session and all related states (temporary data, flowchart stack, view state, comet listeners, et cetera). When a session is cleared, it will redirect you to the home page where it will create a new empty session. You can also specify another navigation item to return to.&#x20;

![Properties of the ](https://1449034948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_NpOsk0sjotPXNy29Q%2Fuploads%2FRcSrbQ53fmLFWC7wg7aS%2FFlowchart-clear%20session%20poperties.png?alt=media\&token=5334cf07-3899-44d8-8533-2c1e2781279a)

The clear session node is an important safety measure that should, for example, be used in a log-out flowchart. This will make the logout permanent and prevents someone from returning to a logged in session by using the browsers back button. &#x20;
