Forum: Ruby on Rails Session file

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9054a70a5ebc5824bc2a0b5465e7b342?d=identicon&s=25 tmatsumoto (Guest)
on 2005-11-17 18:21
(Received via mailing list)
Hi

Does anyone know where the session file, storing cookie data, is?

Thanks,

Todd
44896977650aef424270590e60b39964?d=identicon&s=25 Ed -- (epo001)
on 2005-11-17 18:23
>
> Does anyone know where the session file, storing cookie data, is?
>

In my experience (linux/mac os) usually in the most recent file called
/tmp/ruby-sess*
44896977650aef424270590e60b39964?d=identicon&s=25 Ed -- (epo001)
on 2005-11-17 18:25
epo001 wrote:

> In my experience (linux/mac os) usually in the most recent file called
> /tmp/ruby-sess*


OOps make that /tmp/ruby_sess.*

:-(
Ce60c4f78a63b0695e4dafc4bd7964f7?d=identicon&s=25 vanek (Guest)
on 2005-11-17 19:06
(Received via mailing list)
on MS Windows PStore puts them in,
   C:\Documents and Settings\<your_home_directory>\Local Settings\Temp

i believe PStore is the default backing store for session files.

And cookies are in
   C:\Documents and Settings\<your_home_directory>\Local
Settings\Temporary Internet Files
Eea7ad39737b0dbf3de38874e0a6c7d8?d=identicon&s=25 justin (Guest)
on 2005-11-18 20:08
(Received via mailing list)
tmatsumoto wrote:
> Hi
>
> Does anyone know where the session file, storing cookie data, is?
>
> Thanks,
>
> Todd

On Windows XP, Rails sessions are in files like

    C:\WINDOWS\Temp\ruby_sess.2a9778de5955c4a9

Note that these store serialised session state, not cookies.

regards

   Justin
531eb73f8fbf05a197721d02b4e6aadb?d=identicon&s=25 bogdan.ionescu (Guest)
on 2005-11-18 22:57
(Received via mailing list)
So they are normally stored on the temporary directory.
On windows machines that is referred as %temp%
This topic is locked and can not be replied to.