Forum: Ruby on Rails Cookie not written in production environment

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
832c11f394e33ac2b2b62dcc2275bd9c?d=identicon&s=25 Daniel Liebig (dli)
on 2009-03-12 16:42
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.
This topic is locked and can not be replied to.