API17

API17:JSession::getFormToken

From Joomla! Documentation

Joomla 11.1 JSession::getFormToken

Description

Method to determine a hash for anti-spoofing variable names.


public static function getFormToken ($forceNew=false)
Parameter Type Default Description
$forceNew false
  • Returns string Hashed var name
  • Defined on line 216 of libraries/joomla/session/session.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples