# ASM Main Cookie Path

**URL:** <https://community.f5.com/t/asm-main-cookie-path/58340>\
**Category:** Technical Forums\
**Tags:** asm-advanced-waf, security\
**Created:** [March 12, 2019, 9:42am UTC](https://community.f5.com/t/asm-main-cookie-path/58340 "2019-03-12T09:42:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdulkareem](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Abdulkareem](https://community.f5.com/u/Abdulkareem)\
**Post date:** [March 12, 2019, 9:42am UTC](https://community.f5.com/t/asm-main-cookie-path/58340/1 "2019-03-12T09:42:59Z")

</div>

Hello All

Can any one let me know if I can add cookie path for ASM cookie, the path always empty.

 ![image_257726.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/2/2247d789a428f7ef300b48256b741c4614b8b1e5.png)

---

<div class="post-metadata">

**Author:** ![samstep](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@samstep](https://community.f5.com/u/samstep)\
**Post date:** [March 18, 2019, 11:35pm UTC](https://community.f5.com/t/asm-main-cookie-path/58340/2 "2019-03-18T23:35:06Z")

</div>

ASM Cookies are set on the root / path so they are accessible from any path. The only way to changes the path on ASM cookie is by using an iRule as described in [myF5](https://support.f5.com/csp/article/K14211)

You need to be very careful - ASM might be design to process cookies from the root path which means that potentially you might get false-positive cookie viaolation
