WEBrick cookies not persisting?

Has anyone had any experience on mac os x with WEBrick and cookies not
persisting? What I’m doing is pushing a cookie into the response obj of
a webrick request. When another request comes in. The req.cookies is
empty… ([])

Any ideas?

On Fri, Jan 19, 2007 at 02:37:16PM +0900, Aaron S. wrote:

Has anyone had any experience on mac os x with WEBrick and cookies not
persisting? What I’m doing is pushing a cookie into the response obj of
a webrick request. When another request comes in. The req.cookies is
empty… ([])

Any ideas?

Have you tried looking at the headers returned from WEBrick? Try using
LiveHTTPHeaders with firefox. That might help you figure out whats
wrong.

http://livehttpheaders.mozdev.org/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs