Forum Discussion
imranHaider
Altostratus
Apr 05, 2020How to disable preview if using iCAP via ASM
Hello, i have an iCAP server configured via ASM. The basic connectivity is OK however when the ASM send an attachment to the icap server (fortinet sandbox), the sandbox replies back instantly w...
- Oct 14, 2022
Sounds like you want to use the stream profile, have a look at the K article on it:
- Oct 14, 2022
the article says:
- When you configure the virtual server with the HTTP profile, the Stream profile performs only the search and replace procedure on the HTTP payload. This applies to both client requests and server responses.
that means not only headers, but also the body.
Sep 10, 2007
Are you sure that the else statement is being executed in the same request? Try adding some more logging at the entry to HTTP_REQUEST and we'll see...
when HTTP_REQUEST {
log local0. "Received HTTP Request for URI: [HTTP::uri]"
if { [HTTP::uri] contains "logout.do"} {
persist delete uie [HTTP::cookie "JSESSIONID"]
log local0. " Deleted persistence for session [HTTP::cookie "JSESSIONID"]"
} else {
persist uie [HTTP::cookie "JSESSIONID"] 1800
log local0. " Updated persistence for session [HTTP::cookie "JSESSIONID"]"
}
}
Odds are there's another requests slipping in there not containing "logout.do" after your logout.do request.
-Joe
the article says:
- When you configure the virtual server with the HTTP profile, the Stream profile performs only the search and replace procedure on the HTTP payload. This applies to both client requests and server responses.
that means not only headers, but also the body.
Recent Discussions
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