in response to my question, for anyone who searches and finds this in the future, I needed to include:
global $USER; $USER-> sesskey;
Paolo
General developer forum
Custom activity module
This discussion has been locked so you can no longer reply to it.