-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jan 26, 2006, at 8:40 AM, Duane Johnson wrote:
Jamis Buck and I had a few ideas tonight that would each take care
of the CgiRequest bug where switching between Rails apps that have
different classes (models) stored in the session causes the whole
app to crash without a trace. Of course, the problem is only
present when using the FileStore to store session data, since if
the sessions are being stored in the DB, there shouldn't be any
conflict between apps.
The rubysess. file prefix and cookie names are configurable so the
app generator may:
class ApplicationController < ActionController::Base
session :prefix => '<%= @app_name %>.', :session_key => '<%=
@app_name %>'
end
Best,
jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFD2P+WAQHALep9HFYRAqVSAJ928/lFoLHCe1SrnrR+nAd7RctMDwCfeV7D
yFy6xwYnXVegjuhe3T5GWqI=
=jaQX
-----END PGP SIGNATURE-----
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core