Skip to content

GET Parameter Data

You can get the values of any url paramater passed to a page.

Example: example.com/?paramName=value

{{ getData.paramName }}

You can get any data passed to a page through the $_POST php variable.

{{ postData.paramName }}

You can get any data passed to a page through the $_SESSION php variable.

{{ sessionData.paramName }}

If the variable name contains a hyphen, use bracket notation instead:

{{ sessionData['agent-lang'] }}

Keys written by another PHP application only appear here when that application stores its sessions in the same folder as Total CMS. See Sharing Sessions with Other PHP Apps.