 <p>I just tested on PeopleTools 8.54.11 and was able to create a cookie using the snippet you provided above. </p> <p>I did find I had an issue if I set </p> <pre><code>&amp;YourCookie.Secure = True; </code></pre> <p>in an environment where I was using HTTP.</p> <p>If you set Secure to False the cookie will be available in both HTTP and HTTPS</p> <p>if you set Secure to True the cookie is only available in HTTPS</p> <p><a href="http://docs.oracle.com/cd/E58500_01/pt854pbh1/eng/pt/tpcr/langref_ResponseClassMethods-0713c9.html#topofpage" rel="nofollow">PeopleTools 8.54 Documentation showing the CreateCookie method</a></p>