I set my cookies at root domain level (
lvh.me in dev) , accessible from within each subdomain
w session store initializer :
Rails.application.config.session_store :active_record_store, :key => '_tests_session', :domain => :all
( good for persisted facebook authentication when user login into a different subdomain)
when a user login into a subdomain, I have
cookies[:login]
"{:user_id=>3, :subdomain_name=>\"coocoo\"}"
when the user logout , I should delete this cookie,
cookies.delete(:login, :host => Rails.configuration.host) if cookies[:login]
but it doesn't delete it ... any clue ?
thanks for feedback