Category Archives: asp.net-session

apache mod_proxy session id empty

I've a form with captcha enabled. The captcha image is fetched from a thirdparty. I've configured a reverse proxy in apache to forward the request for the captcha.

When the form is loaded,a request is made via the proxypass entry and the image is retrieved along with a session id in the cookie ASP.NET_sessionid

The issue is, this session id is not getting forwarded to the browser. When I check the headers and cookies in the browser, the Set Cookie value does not have the cookie ASP.NET_sessionid in it.

If I test the captcha api directly from my browser, its working.

What could go wrong ? My Proxy pass entry is a simple one as below.

ProxyPass /captcha_service_qa https://example.com/captcha_service ProxyPassReverse /captcha_service_qa https://example.com/captcha_service