addCookie(), getCookies() methods

For questions and postings not covered by the other forums
timmeh
Posts: 18
Joined: Fri Apr 13, 2012 3:12 pm

addCookie(), getCookies() methods

Postby timmeh » Fri Sep 14, 2012 4:08 pm

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!
Attachments
nocookie.png
no cookie!
nocookie.png (60.97 KiB) Viewed 2703 times

timmeh
Posts: 18
Joined: Fri Apr 13, 2012 3:12 pm

Re: addCookie(), getCookies() methods

Postby timmeh » Thu Sep 20, 2012 5:35 pm

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!


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 8 guests