热门IT资讯网

基于PHP cookie会话保持之iRule脚本

发表于:2024-11-30 作者:热门IT资讯网编辑
编辑最后更新 2024年11月30日,when HTTP_REQUEST {if { [HTTP::cookie exists "TestCookie"] } {#test cookie是WEB里面定义的persist uie [HTTP

when HTTP_REQUEST {

if { [HTTP::cookie exists "TestCookie"] } {

#test cookie是WEB里面定义的

persist uie [HTTP::cookie "TestCookie"]

}

}

when HTTP_RESPONSE {

if { [HTTP::cookie exists "TestCookie"] } {

persist add uie [HTTP::cookie "TestCookie"]

}

}


0