I'm experiencing a serious problem where the responses of my GET
requests keep reseting my session cookie.
Basically my initial request to www.vidmap.de sets a session cookie on
variable _vm_session_prod which is undesirably overwritten with
different value by a second request.
The second request inside the delivered html document is loading a
jpeg image through http://www.vidmap.de/web/image?image=bikecam_julierpass.jpg.
The image is delivered through send_file(PATH_XYZ, :type => 'image/
jpeg', :disposition => 'inline', :filename => 'video.jpeg', :stream =>
false) on server side.
My problem is that, for what reason ever, the second response sets a
new session cookie (which causes heavy trouble at an other stage). No
other server side responses (render :json / :text) are causing this