pulpmedia/p3pcookiebundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pulpmedia/p3pcookiebundle

Composer 安装命令:

composer require pulpmedia/p3pcookiebundle

包简介

Solves Cookie Storage issues in iFrames for Internet Explorer in Symfony2

README 文档

README

The P3PCookieBundle adds support for cookie storage in iFrames for Internet Explorer. It solves an Issue, where cookies (for example for session storage) don't work for applications inside iFrames.

Prerequisites

This version of the bundle requires Symfony 2.1+.

Installation

Installation only requires two steps:

  1. Download P3PCookieBundle using composer
  2. Enable the Bundle

Step 1: Download P3PCookieBundle

Add P3PCookieBundle to your composer.json

{
    "require": {
        "pulpmedia/p3pcookiebundle": "~1.0@dev"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update pulpmedia/p3pcookiebundle

Composer will install the bundle to your project's vendor/pulpmedia directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Pulpmedia\P3PCookieBundle\PulpmediaP3PCookieBundle(),
    );
}

Step 3: Done

Your response headers will have the required P3P settings to enable cookie storage inside iFrames for Internet Explorer

License

This bundle is under the MIT license.

统计信息

  • 总下载量: 18.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-24