Displaying 1 result from an estimated 1 matches for "_first_session_id".
Did you mean:
_first_session_
2007 Oct 22
0
removing http headers
...et-Cookie _first_session_
If I add the line "@headers.clear" to the action, the Cache-Control
header dissapears:
Connection Keep-Alive
Date Mon, 22 Oct 2007 19:47:28 GMT
Content-Type text/html; charset=utf-8
Server WEBrick/1.3.1 (Ruby/1.8.6/2007-03-13)
Content-Length 1
Set-Cookie _first_session_id=fc6285470aa256fbcedad6ad200eb437; path=/
I also found that by disabling the session with "session :disabled =>
true" the Set-Cookie header is not sent:
Connection Keep-Alive
Date Mon, 22 Oct 2007 22:25:10 GMT
Content-Type text/html; charset=iso-8859-1
Server WEBrick/1.3.1 (Ruby/1...