翻译以下irule:when HTTP_REQUEST if HTTPcookie exists JSESSIONID persist uie HTTPcookie JSESSIONID else set jsess findstr HTTPuri JSESSIONID 11 ; if $jsess != persist uie $jsess
当HTTP请求时{ 如果{ [HTTP::cookie exists "JSESSIONID"] } { 持久化 uie [HTTP::cookie "JSESSIONID"] } else { 设置 jsess [findstr [HTTP::uri] "JSESSIONID" 11 ";"] 如果{ $jsess != "" } { 持久化 uie $jsess } } }
当HTTP响应时{ 如果{ [HTTP::cookie exists "JSESSIONID"] } { 持久化添加 uie [HTTP::cookie "JSESSIONID"] } }
AI 优化版
原文地址:https://www.cveoy.top/t/topic/gZYz 著作权归作者所有。请勿转载和采集!