Ruby on Rails Monday, August 3, 2015

The new session id is created when the http request header contains
'Pragma'='no-cache' on our RoR environment. Our goal is that the session
id is preserved if the http request header contains 'Pragma'='no-cache'.
Please let us know how to preserve the session id.

The detailed sequence is shown below:

1. The user downloads the Microsoft World file from RoR application, and
   opens that file using 'Protected View'.

2. The user clicks the url link which is written in that Word file. The
   clicked url link points to a page which is located on that RoR
   application.

3. On opening that url link, the http request header contains
   'Pragma'='no-cache', and the new session id is created with the http
   response header which contains 'Set-Cookie'. 

If the user opens that file not using 'Protected View' on the sequence 1,
the session id is preserved on the sequence 3. The http request header
doesn't contain 'Pragma'='no-cache'.


The our RoR environment is shown below:

Server:
  Rails 3.2.14, and ruby 2.0.0p247 on apache 2.2.29, and unicorn 4.6.3

Clients:
  Internet Explorer 8, and MicrosoftOffice 2010 on Windows7 64bit.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4b842832-908c-4530-9792-67db6e6dfa3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment