# Persistence Profile Problem ??

**URL:** <https://community.f5.com/t/persistence-profile-problem/16183>\
**Category:** Technical Forums\
**Tags:** availability, performance, tmsh, big-ip-access-policy-manager-apm, security, application-delivery\
**Created:** [July 6, 2015, 9:33pm UTC](https://community.f5.com/t/persistence-profile-problem/16183 "2015-07-06T21:33:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ihsanekici\_1810](https://avatars.discourse-cdn.com/v4/letter/i/59ef9b/32.png) [@ihsanekici\_1810](https://community.f5.com/u/ihsanekici_1810)\
**Post date:** [July 6, 2015, 9:33pm UTC](https://community.f5.com/t/persistence-profile-problem/16183/1 "2015-07-06T21:33:48Z")

</div>

Hi

You can see problem below link and i sending my persistence profile config on below.What could be the problem?

> **[Sign In - Inspectlet](https://www.inspectlet.com/signin)**
>
> Sign in to Inspectlet to view your Dashboard.

Persistence Profile

=================================================

ltm persistence universal Universal\_Cookie { app-service none defaults-from universal match-across-services enabled rule Cookie\_Persistence timeout 600

Fallback Persistence Profile

==================================================

ltm persistence source-addr src\_ip { app-service none defaults-from source\_addr match-across-services enabled timeout 10800

Using Irule

===================================================

ltm rule Cookie\_Persistence { Name : Virtual Server Cookie Persistence (standard)

Purpose : Cookie Persistence across Virtual Server services Methodology : Create cookie containing “unique” hash. This cookie is then used to persist connections.

when HTTP\_REQUEST { if { [HTTP::cookie exists “b1P”] } { if cookie is present then persist persist uie [HTTP::cookie value “b1P”] set cookie\_check 0 \_debug\_ log local0. “[virtual name] [IP::client\_addr] PRESENT [HTTP::cookie value “b1P”] 0”

} else { set cookie\_check 1 } }

when HTTP\_RESPONSE {

if there is no cookie in request then add cookie to response if { $cookie\_check eq 1 } { create hash for cookie set now [clock seconds] set token “[IP::server\_addr][IP::client\_addr][TCP::client\_port][expr { int(1000000 \* rand()) }]” binary scan [md5 $token] H\* md5var junk insert cookie HTTP::cookie insert name “b1P” path / value $md5var\_$now \_debug\_ log local0. “[virtual name] [IP::client\_addr] INSERT [HTTP::cookie “b1P”] 1” persist add uie [HTTP::cookie “b1P”] } }

---

<div class="post-metadata">

**Author:** ![VernonWells](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@VernonWells](https://community.f5.com/u/VernonWells)\
**Post date:** [July 7, 2015, 7:55am UTC](https://community.f5.com/t/persistence-profile-problem/16183/2 "2015-07-07T07:55:35Z")

</div>

I haven’t looked at the code, but is there a reason for performing the cookie persistence manually, rather then just using the built-in cookie persistence method?
