Follow

Q&A: What is Cookie Persistence?

 

Question

  • What is Cookie Persistence?
    • What does it do?
    • What is it used for?

 

Environment

  • Silverline WAF
  • Silverline DDoS Proxy
  • Proxy/Proxies
  • Cookie Persistence 

 

Answer

  • If “Use Cookie Persistence” toggle is turned to ON -- When a client makes a request to the proxy, they will get a cookie embedded with the chosen backend server.
  • Cookie persistence enforces session persistence using HTTP cookies
    • HTTP cookies that ensure requests from the same client are directed to the same pool member after the proxy infrastructure initially load-balances them
    • If the same pool member is not available, the system makes a new load balancing decision
  • HTTP cookie persistence may be applied to any proxy with an attached HTTP, SSL HTTP, or WAF Proxy service type
  • A proxy must have at least two or more configured backends for the configuration to be available within the proxy configuration
  • Persistence Cookie is setup to expire when the user session expires (that is when the browser is closed)
    • With that said, however, by default the proxies are configured with a Client Idle Timeout of 60 seconds.
  • Example of a PersistanceCookie
    • Set-Cookie: PersistanceCookie=!ez91BS256RBpOXE7HsWRRtUOmBXjeCOu9BIx2tKwAcxqeC6u9BNeJo0+xqeC6u9BalcpSUL6g==; path=/; Httponly; Secure

 

Related Content

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request