Pop

Navigation:  Development > Function Reference > Module > Session >

Pop

Previous pageReturn to chapter overviewNext page

Delete  a Session and return value.
 

App::Session()->Delete(Name);
 

 

Parameter

Type

Description

Name

Mandatory

Name of the Session

 

See bellow examples:

 

// Delete a Session
$username = App::Session()->Pop('username');