When I access document.cookie
in Javascript, it spits out, say:
'user_credentials=5beea8874f2db9feb873828'
Basically, what appears to be some encoded information. Fine.
When I look at the headers, I do see that exact same string being set to user_credentials
, but there's also another value being set for _myapplication_session=BAh7CiIQX
. Unlike with user_credentials
, this one includes capital letters and letters after F.
So:
- What is
_myapplication_session
? Is this related to the session object in Rails? - Why doesn't
_myapplication_session
show up with Javascriptdocument.cookie
?