Actions

API17

JSession::getFormToken

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSession::getFormToken

Description

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

Description:JSession::getFormToken [Edit Descripton]

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

  • Joomla 11.1 JSession::getFormToken source code on BitBucket
  • Joomla 11.1 Class JSession
  • Joomla 11.1 Subpackage Session
  • Other versions of JSession::getFormToken

SeeAlso:JSession::getFormToken [Edit See Also]

User contributed notes

<CodeExamplesForm />