<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Here's the steps I followed:</div><div><br class="webkit-block-placeholder"></div><div><b>Generated the test code</b></div><div>rails test</div><div>mate test</div><div>cd test</div><div>script/generate scaffold thing</div><div>rake db:create</div><div>script/server</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><b>Modified things_controller.rb index and new:</b></div><div>def index</div><div>end</div><div>def new</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>session[:user] = 5</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>redirect_to(things_path)</div><div>end</div><div><br class="webkit-block-placeholder"></div><div><b>Set index.html.erb to:</b></div><div>Hello! &lt;%= session[:user] %&gt;</div><div>&lt;%= link_to 'New thing', new_thing_path %&gt;</div><div><br class="webkit-block-placeholder"></div><div>-------</div><div><br class="webkit-block-placeholder"></div><div>Now when I go to the page in FireFox, I see "Hello" on the screen. &nbsp;Clicking the link gives me "Hello 5" on my screen. &nbsp;This is expected.</div><div><br class="webkit-block-placeholder"></div><div>However, when I go to Safari, I only ever see "Hello" and never "Hello 5". &nbsp;I have, in the Safari preferences, accept cookies set to "Accept All". &nbsp;I've checked everything I can think of to make sure nothing is blocking it.</div><div><br class="webkit-block-placeholder"></div><div>I've inspected the session and the only thing I can find is that the Session ID for the Safari requests is a new 32 character string for every request, and for FireFox requests it's the same 128 character string for every request.</div><div><br class="webkit-block-placeholder"></div><div>I'm using Ruby on Rails 2.0.2. &nbsp;I hope I'm not forgetting some other useful piece of info.</div><div><br></div><div>How do I get this to work for me in Safari?</div><div><br class="webkit-block-placeholder"></div><div>Thanks,</div><div>Glenn</div></body></html>