JSession::hasToken
Method to determine if a token exists in the session. If not the session will be set to expired
Signature
public function hasToken(string
$tCheck,
[boolean
$forceExpire = true] )
Parameters
-
$tCheck
- Hashed token to be verified
-
$forceExpire
- If true, expires the session
Returns
- boolean