public function create($action)
    {
        $expire = time() + $this->timePeriod; // 24 hour expiration

        $user_id = $this->RequestContext->getUserRef();
        if(is_null($user_id))
            $user_id = $this->Session->getID();

        return $this->Encryption->encryptSecureCookie(strtolower($action), $expire, (string)$user_id);
    }