# SessionInvalidate()

Invalidates or cleans up the current session.

```
SessionInvalidate( );
```

**Returns:** void

*This function does not take any arguments.*

# Examples

Application.cfc

```cfml
component  {

    this.name="sessionInvalidate" ;
    this.sessionManagement = true ;
  
}
```

session.cfm

```cfml
session.User = "lucee"
writeDump(session);
<a href="sessionInvalidate.cfm">Invalidate Session</a>
```

sessionInvalidate.cfm

```cfml
invalidate = sessionInvalidate();
writeDump(session)
<a href="session.cfm">session</a>
```







# Categories

[Session](../../categories/session.md)

# See Also

[ApplicationStop()](applicationstop.md), [SessionCommit()](sessioncommit.md), [SessionExists()](sessionexists.md), [SessionRotate()](sessionrotate.md), [SessionStartTime()](sessionstarttime.md), [Session Handling in Lucee](../../recipes/session-handling.md), [Application.cfc / <cfapplication>](../tags/application.md)