您的位置:首页 > 编程语言 > PHP开发

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

2015-04-12 22:49 323 查看
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"]
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  cookie F5 iRules