i have a UDT that creates a dynamic form, and I wish to include a token that i'll check on submit of the form.
Code: Select all
$token = uniqid(mt_rand(), TRUE);
$_SESSION['token'] = $token;
but $_SESSION['token'] is not defined. the action php file is not part of CMSMS. should i create a page with an action {UDT} instead?