Forum Discussion

Abed_AL-R_26070's avatar
Abed_AL-R_26070
Icon for Nimbostratus rankNimbostratus
Jun 03, 2018

ltm ending session

hello

 

Is there any option in ltm to delete a session from persistence table after it recognized a pattern in url ?

 

I mean , right now we've configured persistent with source addr + 10 minutes max for each session . But sometimes users end there session after two minutes and we dont need that session to be anymore in the persistent table . So we have a URL with specific pattern which means that that user has ended his session . So is there anyway to configure the f5 ltm machine to delete a session from persistence table after it recognized that pattern in the URL ?

 

1 Reply

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Try an irule like the following:

    when HTTP_REQUEST {
        if { [HTTP:path] equals '/remove_persistence' } {
            persist delete source_addr [IP::client_addr]
        }
    }
    

    .