Forum Discussion
Jacques_DL_3369
Nimbostratus
Dec 09, 2017Persistence I rule on header information (access_key session ID)
Good day Fellow F5 people
Can anyone please help me with an I rule.
I need to create I rule to do persistence on the access_key number (session id) in die Header. the example id here is 333444555666
Session Creation and Destruction
A valid session is obtained using the “rest_access” resource. The following HTTP-PUT method will create an access key, which is to be used by the load balancer to maintain the session:
HTTP Request: POST http://{CASDM_Server}:8050/caisd-rest/rest_access HTTP/1.1 ...along with other headers that are irrelevant to routing at this point
Valid HTTP 201 Response (with Access Key/SessionID):
HTTP/1.1 201 Created Content-Type: application/xml
333444555666
1335276895
I would like to have persistence on the 333444555666 session/access_key id
each user will get a new access_key.....
many thanks
- Stanislas_Piro2
Cumulonimbus
Hi Jacques,
you provides only the response data, but not the request...
when working with persistence, you have to get the persistence record from the request, then use it for all requests with same record.
if the first request doesn't contain this record, you can get it from the response... but for following requests, it is required.
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