Forum Discussion
ASM adding unwanted cookie
Hi, we have a VS created in LTM with Default Persistence as universal & following iRule:
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/abcd" } {
pool Pool1
} else {
set jsess [URI::query [HTTP::uri] PARAM]
if { $jsess != "" } {
persist uie $jsess 600
pool Pool2
}
}
}
However, we are getting one unwanted cookie in response, so is it possible that above combination will add some unwanted default cookie for response?
28 Replies
- Michael_Koyfman
Cirrocumulus
You will break ASM functionality if you remove TS cookie. Is the cookie that ASM sends affecting the client behavior? That should not be the case. If yes, is this a browser or a custom client?
- Pranav_73262
Nimbostratus
Ok. Actually it is not affecting client behavior, however, customer has requirement that we should not send any cookies. It is HTTPS application. - just thinking out loud, is ASM required?
- Pranav_73262
Nimbostratus
yes, it is required. But should not add cookie :) only inspect and block in case of violations.
You will break ASM functionality if you remove TS cookie. Is the cookie that ASM sends affecting the client behavior? That should not be the case. If yes, is this a browser or a custom client?
- Pranav_73262
Nimbostratus
Ok. Actually it is not affecting client behavior, however, customer has requirement that we should not send any cookies. It is HTTPS application. - just thinking out loud, is ASM required?
- Pranav_73262
Nimbostratus
yes, it is required. But should not add cookie :) only inspect and block in case of violations.
- Pranav_73262
Nimbostratus
Modified question to reflect exact issue for the benefit of future references.
- Romain_Dayan_83
Nimbostratus
Hi,
What is you ASM deployment mode ? If you can isolate this application on another security policy you can disable the ASM cookie feature only in this case.
I can warn you that the "TS*" cookie can be in lower case sometime but I don't know what will be the behavior of the ASM if the cookie is not present and the feature enabled.
- Pranav_73262
Nimbostratus
Hi Romain, how to disable ASM cookie? I checked all options available; but no luck. At max it allows us to play with expiration timer, MD5 hash etc.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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