title: send_data or send_file(ruby) not working in safari browser?
body: <p>I used following code to send or downlaod file at client's browser.
  That is perfectly working in all browser BUT in safari after clicking on link when i refresh the page it makes my session nil.</p>
  
  <p>def export_csv</p>
  
  <p>csv = CSV.generate(:force_quotes => true) do |line|
        line &lt;&lt;["Employee Code", "Name", "Status", "Skills"]<br>
      end</p>
  
  <pre><code>send_data csv,
    :type =&gt; 'text/csv; charset=iso-8859-1; header=present',
    :disposition =&gt; "attachment; filename=EmployeeSkillsData-#{Time.now.strftime('%d-%m-%y--%H-%M')}.csv"
  </code></pre>
  
  <p>end</p>
  
  <p>I tried this code with some other application also but result is same.
  Please help to resolve this.
  Thanks.</p>