LimeSurvey with load balancers, fixing the user sessions.
How to store LimeSurvey PHP sessions in MySQL so surveys can scale across load-balanced frontend servers without losing users between requests.
Read the postNotes on code, startups, and the decisions behind the software. From our team in Cambridge, MA.
344 posts
How to store LimeSurvey PHP sessions in MySQL so surveys can scale across load-balanced frontend servers without losing users between requests.
Read the postWhy replacing a page’s entire body HTML with jQuery can trigger document.ready twice and cause JavaScript widgets and handlers to initialize repeatedly.
Read the postHow PHP’s extract() function imports array values as variables in the current scope, enabling Symfony-style partials for reusable view templates.
Read the postHow phpQuery brings jQuery’s CSS selector syntax, traversal methods, and CSS3 filters to PHP for simpler HTML scraping than DOM XPath.
Read the postUsing PHP’s levenshtein() and similar_text() functions to match typo-prone input strings against acceptable values, with their runtime costs.
Read the post