Forum Discussion
Dicky_Moe_13167
Nimbostratus
Aug 31, 2017Universal persistence: session-id inserted in HTTP Header
Hello Guys,
Well, the title pretty much explains it. I have a webservice that returns a session-id in the header, and I would like to use that session id to make the next HTTP request persist on th...
cjunior
Nacreous
Aug 31, 2017Hi, You need to check first on header responses. You could try like this:
when HTTP_REQUEST {
if { [HTTP::header exists Session-ID] } {
Back to the server
persist uie [HTTP::header value Session-ID]
}
}
when HTTP_RESPONSE {
if { [HTTP::header exists Session-ID] } {
persist on the server
persist add uie [HTTP::header value Session-ID]
}
}
Regards.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
