Forum Discussion
iaine
Apr 12, 2018Nacreous
Hi
Try this
when REWRITE_REQUEST_DONE {
Need something to signify that the right portal object is being called
if {[HTTP::host] equals "www.example.com" } {
set match 1
}
}
when HTTP_RESPONSE_RELEASE {
if { [info exists match] } {
HTTP::cookie insert name MyCookie value "One; Secure;"
}
}
This code would need to be associated to the VIP hosting the APM profile that hosts the WebTop.