Persistence for SessionID value in URI

Hi, We try to have a persistence for the URI starts with “@rt:rt/WebPoint/” and has this line further:

Field=SessionId&Value=12412414

So we want to make the clients whose sessionID is 12412414 be sent to the same pool member. But I could not compile the right iRule unfortunately. Any helps appreciated.

Thanks.

Can you post what you can up with so far please?

I have solved the problem with this irule at all

when HTTP_REQUEST {

set sessionid [findstr [HTTP::uri] “SessionId&Value=” 16 “&”]

if { $sessionid != “” } { persist uie $sessionid 600 } }