Forum Discussion

kckirwan_49724's avatar
kckirwan_49724
Icon for Nimbostratus rankNimbostratus
Jun 12, 2008

Query / Modify cookie contents

Is there a method for inspecting and/or modifying the contents of a cookie used to maintain persistence using an irule?

 

 

Thanks

 

 

kckirwan

2 Replies

  • Hi kckirwan,

     

     

    You can use HTTP::cookie (Click here) to retrieve and/or modify cookies in HTTP requests and/or responses. For details on the cookie used for persistence, check this codeshare example:

     

     

    Persistence Cookie Logger:

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Persistence_Cookie_Logger.html

     

     

    Aaron
  • Aaron,

     

    Thanks for the reply. I'm headed to the provided links now.

     

    Appreciate the info,

     

    kckirwan