Forum Discussion
strongarm_46960
Nimbostratus
Dec 01, 2008To many Cookies
I have just recenty put ASM in front of a large app, this app has been known to set up to 17 or more cookes per session depending on what transaction the user is doing, problem is ASM seems to set a f...
strongarm_46960
Nimbostratus
Jan 08, 2009I am trying to delete these TS cookies using an iRule between a created sandwich VIP, the HTTP Response part of my code is off key, can you please check where my logic is going wrong....
when CLIENTSSL_CLIENTCERT {
virtual www.mysite1.vip
}
when HTTP_REQUEST {
virtual www.mysite2-vip
}
when HTTP_RESPONSE {
set acookie [HTTP::cookie names]
set asmTS "TS\w{6}"
for {set i 0} {$i < [HTTP::header count $acookie ]} {incr i}{
log local0. "the cookes are $i: acookie"
if {[info exists $asmTS ] and [HTTP::cookie exists $asmTS] } {
log local0. "TS matched cookie: $eCookie "
HTTP::cookie remove $asmTS
log local0. "TS Cookies gone!"
}
}
}
Lastly, I also tried deleting using STREAM, no joy with that either, doesn't stream do headers?
Thanks in advance.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
