Yes, you can't have a lot of objects in the session using the cookie
based session store, but this shouldn't be a problem if you're just
storing things like the flash or user ids on it.
-
Maurício Linhares
http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr
On Fri, Jun 12, 2009
Hi Alex,
If you're using rails 2.3.2, take a look at ./config/initializers/
session_store.rb. There you'll see what you're looking for:
...
#ActionController::Base.session_store = :active_record_store
...
Jeff
On Jun 11, 8:10 am, Alex Barlow alexbarlo...@googlemail.com wrote:
Hi guys, new
Currently Rails stores sessions in the browser and this is the most
scalable solution found until now.
Unless you have a really great idea to build a better session store,
just use the cookie based one and you're done.
-
Maurício Linhares
http://codeshooter.wordpress.com/ |
I have memcached based sessions (i.e. config/environment.rb
config.action_controller.session_store = :mem_cache_store) from before
2.3. Are their any issues I should I keep in mind if I switch to the new
hotness?
Man, that phrase sounds dated!
Cheers,
Walter
2009/6/12 Maurício Linhares
4 matches
Mail list logo