Forum Discussion

habass_34842's avatar
habass_34842
Icon for Nimbostratus rankNimbostratus
Oct 11, 2011

Persistence based on session ID

Hi Experts,

 

I would like to configure a persistence for user requests coming to our virtual Server which maps 3 Nodes (in the pool).

 

We use the rmpp protocol to send our requests.

 

So we want a persistence that will track the session ID that is generated by the Server (node) when the user has established a session. Should in case a user has lost his session with t he Server (node) within a period of time, he should redirect back to its initial session (with that same Server (node)) and continue it's transaction.

 

Please your assistance towards this issue would be very much appreciated.

 

Cheers,

 

Habass.

 

1 Reply

  • Hi Habass,

     

     

    I'm not very familiar with rmpp, but assuming it's TCP based, you could collect the TCP payloads using TCP::collect and then use 'persist uie' to persist on a token from the TCP stream:

     

     

    http://devcentral.f5.com/wiki/iRules.tcp__collect.ashx

     

    http://devcentral.f5.com/wiki/iRules.persist.ashx

     

     

    Aaron