On May 18, 2008, at 5:40 PM, Bluebie, Jenna wrote:
> So it took me ages to figure out how to get cookies set in my app,
> and here was the problem.
>
> I''m using camping''s built in CGI support, and with that
you can have
> something like domain.com/blah/app.rb and that will go to your /
> route, which is okay, except that the path the cookies are set with
> is domain.com/blah/app.rb/
>
> So if you try to use that url, none of your cookies get sent back to
> the server, but if you use domain.com/blah/app.rb/ everything works
> fine. Sure would be good if camping implemented a redirect for that
> situation. :)
Indeed. The code for that is handler-specific -- there''s similar
issues in FastCGI.
Aria Stewart
aredridel at nbtsc.org