Forum Discussion

2 Replies

  • Hi Alex,

     

     

    If you add an HTTP profile to the virtual server you can parse the HTTP headers and data using HTTP:: commands. If the jsessiondid is in the HTTP URI, you can use HTTP::uri to get to it. If it's in a cookie, you can use HTTP::cookie. If it's in the payload, you'd need to buffer the payload using HTTP::collect.

     

     

    You can get more info on the various command in the iRule wiki (Click here). There are also some Codeshare rules which use the jsessionid (Click here).

     

     

    If you have more specific questions, let us know.

     

     

    Aaron
  • VINCENT_LAVERGN's avatar
    VINCENT_LAVERGN
    Historic F5 Account
    Hi,

     

     

    Here is an example where I did actually persist on the SessionID contained in the AJP

     

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&postid=33541&view=topic

     

     

    Vincent