Current time: 07-21-2019, 11:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting setCookie name, domain, value
02-02-2015, 05:54 AM
Post: #1
Scripting setCookie name, domain, value
Hello, not having much luck scripting a location cookie for a test.

In this case I need to set the domain of the cookie, in addition to a name (MYlocation) and value (ZIP=98006)

The examples provide only show domain and path, and my trial and error has not been successful. Please advise.

The scripting WIKi refers to a desktop version of pagetest (file->Runscript) that sounds like it might allow for testing and troubleshooting scripts... if so is that available for download? Thanks
Find all posts by this user
Quote this message in a reply
02-03-2015, 02:38 AM
Post: #2
RE: Scripting setCookie name, domain, value
I don't know what the desktop version is, but the documentation is pretty straightforward on how this scripting works

If you want to set a cookie, the documentation shows you exactly how to do it:
https://sites.google.com/a/webpagetest.o...-setCookie

What is the cookie supposed to contain?

------------
All websites deserve to load fast.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)