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...
Dicky_Moe_13167
Nimbostratus
Aug 31, 2017I was just looking at the persistence records, and there isn't any record after the 1st request. So that is where the problem is. I need to add a persistence record when the HTTP_RESPONSE event happens.
So I wrote:
when HTTP_RESPONSE {
if { [HTTP::header exists Session-ID] } {
set sessionid [HTTP::header value Session-ID]
persist uie $sessionid
}
}
But I get this error:
Failure when receiving data from the peerHelp 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
