Hi All,

We use:

  config.action_controller.session_store = :active_record_store

However, when hitting our system with say 10,000 API requests, we get
10,000 session objects in the database. Which seems like a big waste
of resources.

Is there a way to prevent this?

Basically we want API requests to start with an empty in-memory-only
session hash which is dropped after the request finishes. Somewhat
related, we also don't want to return an HTTP Header Set-Cookie:
_session_id=...etc.


Cheers,
Jimmy

PS. Using rails 2.3.11

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to