Cookie not written in production environment

Hi there,

Rails 2.2.2 on Debian Server.

i’m setting a cookie like

cookies[:tg_usn] = {
:value => @user.username,
:expires =>,

This work’s fine in development environment, but when i start mongrel
with production environment (same server, same network), no cookie is
set by the application.

Any ideas what’s happening here?

thanx a lot for any help,


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