[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

WEBrick cookies not persisting?

warhero

1/19/2007 5:37:00 AM

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?

--
Posted via http://www.ruby-....

1 Answer

Aaron Patterson

1/19/2007 11:17:00 PM

0

On Fri, Jan 19, 2007 at 02:37:16PM +0900, Aaron Smith 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.m...

--
Aaron Patterson
http://tenderlovem...