JSession::checkToken
Checks for a form token in the request.
Use in conjunction with JHtml::_('form.token') or JSession::getFormToken.
Signature
public function checkToken([string
$method = 'post'] )
Parameters
-
$method
- The request method in which to look for the token key.
Returns
- boolean
- True if found and valid, false otherwise.