MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Setting JSON style cookie

WebPagetest Forums

Full Version: Setting JSON style cookie
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am unable to set JSON style cookies with either setCookie or by executing javascript. Does WPT support JSON style cookies?

This has not worked:

setCookie https://www.myurl.com mycookie={"mycookie":true}

Neither has this:

execAndWait document.cookie='mycookie={"mycookie":true};domain=myurl.com;path=/;';

Is there a bug or am I doing something wrong? I need to be able to set this cookie with several json nodes.
Which browser have you tried with? They all use different methods and there may be a bug or issue with one of them.
(09-16-2013 11:35 PM)pmeenan Wrote: [ -> ]Which browser have you tried with? They all use different methods and there may be a bug or issue with one of them.

I have tried IE9, Chrome and Firefox. Can you tell me what syntax I should be using?
Reference URL's