Page 1 of 1

addCookie(), getCookies() methods

Posted: Fri Sep 14, 2012 4:08 pm
by timmeh
Hi I tried using the example from the documentation
addCookie("userName", "Wilbur", 120, "");

in my reply method for JadeHTMLClass although a cookie is never added to the clients browser (image attached).

getCookies also returns no results.

I'm using Jade 6.3.9 with IIS7.5, is anyone else using these methods? Not sure if i'm missing something although I read through the JadeHTMLClass documentation and kind find anything i'm doing wrong.

Thanks!

Re: addCookie(), getCookies() methods

Posted: Thu Sep 20, 2012 5:35 pm
by timmeh
I've tried the example

Code: Select all

addCookie("userName", "Wilbur", 120, "");
within the following methods in the jadeHTMLClass within the highest schema:
reply(), updateValues(), processRequest(), generateHTMLString() methods

If anyone has any advice at all would be highly appreciated!