# Holding page for a request

**URL:** <https://discourse.haproxy.org/t/holding-page-for-a-request/4882>\
**Category:** Help!\
**Created:** [February 22, 2020, 12:54am UTC](https://discourse.haproxy.org/t/holding-page-for-a-request/4882 "2020-02-22T00:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bachkilan](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bachkilan](https://discourse.haproxy.org/u/bachkilan)\
**Post date:** [February 22, 2020, 12:54am UTC](https://discourse.haproxy.org/t/holding-page-for-a-request/4882/1 "2020-02-22T00:54:49Z")

</div>

Hi,

I am trying to create a holding page when the request exceeds the limit

if my maxconn is 10, then when the 11th connection comes I want to show the user a temporary holding page saying they are in a queue and process the request when the connection is available.

could someone help how to approach this design? is this achievable using HAProxy and Lua?

current setup has a Lua service which sends a response of html page for the 11th connection, this html page has a javascript to resubmit the page again after few seconds. Javascript reload is failing in certain browsers so we want to try a different approach for the holding page.
