Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to set a header key based on SSL ID value with HAProxy 1.5? We would like to use the SSL ID as the session ID for clients who do not support cookies.

share|improve this question
1  
See docwiki.cisco.com for limitation on SSL ID's –  Zabuzzman Apr 27 '13 at 18:01
    
I assume you are using SSL offloading on the HAproxy? –  Zabuzzman Apr 27 '13 at 18:01

1 Answer 1

First, to my knowledge, the answer is no.

However, there are other handy techniques to handle folks who do not support cookies. Provided that Javascript is supported, take a page out of Microsoft's book and try something that's actually pretty cool about ASP.NET apps.

Add a Javascript on_click handler to every link and an on_submit to forms. Then simply generate a post that contains the session ID, which is hidden in a hidden field or embedded in the Javascript. Works quite well and removes the requirement for cookies.

For more information see here: http://msdn.microsoft.com/en-us/library/aa479314.aspx

To be clear, I'm not suggesting that you use ASP.NET. I'm just suggesting that you use the technique. :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.