<div dir="ltr">Thank you, that was it. I installed memcache and configured rails to use it as the session store (memcache_servers in application.yml) and that fixed it.<div><br></div><div>Trey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 1:16 PM, Tom Hughes <span dir="ltr"><<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 23/05/18 17:54, Trey Caldwell wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am running the latest OSM code locally on passenger/apache. If I am editing the map in iD and right-click to open OSM in a new tab (by clicking on "OpenStreetMap" in the upper left corner) I am logged out. This does not happen on the production site.<br>
<br>
Any help or idea as to why this is happening is greatly appreciated.<br>
</blockquote>
<br></span>
My guess is that it happens to spawn a separate passenger instance<br>
when you do that, and as the default configuration use a simple in<br>
memory session store that means it won't share sessions.<span class="HOEnZb"><font color="#888888"><br>
<br>
Tom<br>
<br>
-- <br>
Tom Hughes (<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>)<br>
<a href="http://compton.nu/" rel="noreferrer" target="_blank">http://compton.nu/</a><br>
</font></span></blockquote></div><br></div>