Explicitly Add cookie to request
|
06-24-2011, 08:42 AM
(This post was last modified: 06-24-2011 08:46 AM by royrico.)
Post: #1
|
|||
|
|||
Explicitly Add cookie to request
Hi, i just wanted to know if this is possible, to add a cookie to a request to determine the difference between having a cookie and not having a cookie (we call different back end services on my page).
How would i tell one test to explicitly set a cookie and another to not have the cookie? EDIT: OOPS, i put this into the wrong forum.. Thanks! |
|||
06-24-2011, 10:45 AM
Post: #2
|
|||
|
|||
RE: Explicitly Add cookie to request
Sure, you just need to use a script. There is an example of setting a cookie here: http://www.webperformancecentral.com/wik...S_Override (just the last 2 lines of the script matter for setting the cookie).
|
|||
06-24-2011, 01:37 PM
Post: #3
|
|||
|
|||
RE: Explicitly Add cookie to request
(06-24-2011 10:45 AM)pmeenan Wrote: Sure, you just need to use a script. There is an example of setting a cookie here: http://www.webperformancecentral.com/wik...S_Override (just the last 2 lines of the script matter for setting the cookie). Awesome, thanks for the links, I guess I should've read the docs. I'm lazy like that!! |
|||
06-24-2011, 09:38 PM
Post: #4
|
|||
|
|||
RE: Explicitly Add cookie to request
np - the scripting is actually outside of the realm of what I expect people to be able to self-discover (less than 1% of users use it but you can do some cool things with it). Feel free to ping me if you have any questions with it.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)