Forum Discussion

Hamish_Marson_3's avatar
Hamish_Marson_3
Icon for Nimbostratus rankNimbostratus
Aug 18, 2005

Accessing Session Persistence Information

 

Is there any way to access sessin persistence information from an iRule?

 

 

I'd like to build a rule that basically tracks the number of persistent sessions to a website and when the number exceeds a certain level, send new sessions to a backup site that just says'sorry we're busy', until the number drops.

 

 

For that I need to be able to detect when an HTTP connection is a new session or an existing one... Is there any way to do that?

 

 

 

  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    Yes. You can use the persist lookup command. It is described here (Click here):

     

    http://devcentral.f5.com/default.aspx?tabid=28&view=topic&forumid=5&postid=1276
  • That's great. Thanks for that. Just what I needed. Now to see if I can make it all work as I want.

     

     

    regards

     

    Hamish.