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?

Yes. You can use the persist lookup command. It is described here (Click here):

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.