0.02
No commit activity in last 3 years
No release in over 3 years
Rack middleware for enabling problematic web browsers (Internet Explorer and Safari) to use same cookies in iframes as in parent windows.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

RACK-IFRAME

Rack middleware for enabling problematic web browsers (Internet Explorer and Safari) to use same cookies in iframes as in parent windows.

Background

Best described via:

Installation

Add to your Gemfile:

  gem 'rack-iframe'

…and bundle install.

Usage

Minimal:

  require 'rack/iframe'

  use Rack::Iframe

Custom – P3P header:

  require 'rack/iframe'

  use Rack::Iframe, :p3p => %(CP="NOI DSP LAW NID")

Test

  $ bundle exec rake test

…or using Guard:

  $ bundle exec guard

Notes

This gem was developed for our own requirements at Merchii, so feel free to send pull-requests with enhancements of any kind (features, bug-fixes, documentation, tests, etc.) to make it better or useful for you as well.

To-Do

Still not ready for prime-time. See TODO.

License

Released under the MIT license.
Copyright © Jonas Grimfelt, Jaakko Suutarla, Merchii