<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I'd like to server two separate domains from the same code-base and even the same process.<br></div>Currently I set the cookie_domain in the configuration file, but that will not be good once there<br></div>are two domains.<br><br></div>Is it possible to set the cookie_domain on the fly in the code?<br><br></div><div>This is what I have now:<br></div><div><br>engines:<br> session:<br> YAML:<br> cookie_domain: ".<a href="http://example.com" target="_blank">example.com</a>"<br><br></div><div>regards<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"> Gabor<br><br></font></span></div>
</div><br></div>