Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

Setting domain name for cookies from remote site going through reverse proxy server.

$
0
0

So I got my reverse proxy server setup going, call it proxy.com. Users can make browser requests to a remote site, call it remote.com via the proxy server. Issue is, the cookies in the remote site do not have a domain attribute set, so when they go through the proxy server, and get stored on the user's browser, they are stored with the domain 'proxy.com' instead of 'remote.com'. How do I set the domain attribute of the cookies from the remote site to 'remote.com'? This will address an existing issue where my remote site keeps breaking out of iframe in proxy server, unless I visit remote site on separate browser window at least once, before the breakout stops. Apparently, cookies from remote site must be stored on client's pc before iframe page breakout stops. Thanks!


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>