# Can I have two UIE persistence record for the same connection

**URL:** <https://community.f5.com/t/can-i-have-two-uie-persistence-record-for-the-same-connection/72391>\
**Category:** Technical Forums\
**Tags:** irules, persistence, x-forwarded-for, ltm, application-delivery\
**Created:** [May 25, 2023, 8:56pm UTC](https://community.f5.com/t/can-i-have-two-uie-persistence-record-for-the-same-connection/72391 "2023-05-25T20:56:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Luechte2](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@Robert\_Luechte2](https://community.f5.com/u/Robert_Luechte2)\
**Post date:** [May 25, 2023, 8:56pm UTC](https://community.f5.com/t/can-i-have-two-uie-persistence-record-for-the-same-connection/72391/1 "2023-05-25T20:56:42Z")

</div>

I have a web service that uses the [ASP.NET](http://ASP.NET)\_SessionID cookie for persistence.&nbsp; However, I’m running into scenarios where the [ASP.NET](http://ASP.NET)\_SessionID is not sent in the request, or the value of that cookie is blank.&nbsp; This of course is breaking persistence.&nbsp; I’m trying to get the developers to fix that issue, but they’re not having a lot of luck.

Normally it would make sense to set Source\_Addr as the fallback persistence method, but in this case the traffic is going through a third party, which changes the client IP address.&nbsp; The original client IP address is included in a X-Forwarded-For header.

My question is this:&nbsp; In my iRule, can I create a UIE persistence record for the [ASP.NET](http://ASP.NET)\_SessionID cookie and also a UIE record for the X-Forwarded-For value, or will they overwrite one another?

If I can’t do that, can I create a source\_addr persistence record using the value in the X-Forwarded-For header?

Thanks for any help on this.

Robert

---

<div class="post-metadata">

**Author:** ![Paulius](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/paulius/32/21698_2.png) [@Paulius](https://community.f5.com/u/Paulius)\
**Post date:** [May 25, 2023, 11:27pm UTC](https://community.f5.com/t/can-i-have-two-uie-persistence-record-for-the-same-connection/72391/2 "2023-05-25T23:27:17Z")

</div>

@Robert_Luechte2 Sadly you cannot, I believe the only options for fallback persistence is 2 forms of IP persistence.
