Forum Discussion
Remove domain cookies
Hi,
By default, our browser is configured to reach https://portal.domain.com based. This portal is reachable throught our F5 APM solutions. The portal access is configured to used domain cookies.
But we need also to reach https://vdi.domain.com. But when we try to reach vdi.cimpa.com after portal.domain.com page has loaded, we have an error due to the domain cookies (LastMRH_Session, MRHSession for the domain "domain.com"). If I remove these cookes and after a page refresh, it's working.
How I can create an iRule to force to delete these cookies when user tries to reach https://vdi.domain.com ?
Regards
This is a bit of a challenge, because a domain isn't part of a cookie that will be sent on a request. Instead of using domain cookies, try to use Multiple Domains in APM and use Host cookies only.
Depending on your setup, an iRule might work for you if you could for example distinguish on some thing like the referer header. For an example, see the iRule in this post:
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