Cookie not written in production environment


#1

Hi there,

Rails 2.2.2 on Debian Server.

i’m setting a cookie like

cookies[:tg_usn] = {
:value => @user.username,
:expires => 5.day.from_now,
}

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,

regards
D.