Forum Discussion
Kenji_Matsuura_
Nimbostratus
Oct 24, 2014iRule to insert cookie when there is external site cookie on the APM
Hi,all
I've created a iRule such as the following.
Check wheter there is "SMSESSION" Cookie. If there is "SMSESSION" Cookie, Insert the same Cookie at the time of the Portal Access.
It...
kunjan
Nimbostratus
Oct 24, 2014Not sure why the error, may be can try replace instead and also some logging to see what so unique here:
when REWRITE_REQUEST_DONE {
log local0. "Request URI = [HTTP::uri]"
foreach x [HTTP::header names] {
log local0. "Request header($x) = [HTTP::header $x]"
}
HTTP::header replace "Cookie" "SMSESSION=10"
}
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