# SessionExists()

Returns a boolean indicating if a session has been already created / exists.

**Introduced:** 6.2.1.16

```
SessionExists( );
```

**Returns:** boolean

*This function does not take any arguments.*

# Examples

```cfml

<cfdump var="#sessionExists()#" label="Before declaring session">

<cfset session.name = "lucee" />

<cfdump var="#sessionExists()#" label="After declaring session">

```







# Categories

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

# See Also

[SessionInvalidate()](sessioninvalidate.md), [SessionRotate()](sessionrotate.md), [SessionStartTime()](sessionstarttime.md), [StructKeyExists()](structkeyexists.md), [Session Handling in Lucee](../../recipes/session-handling.md), [Application.cfc / <cfapplication>](../tags/application.md)