vesax/ajax-cross-domain-session-bundle

此包已被弃用且不再维护。未建议替代包。
此包最新版本(dev-master)没有可用的许可证信息。

dev-master 2016-03-16 23:35 UTC

This package is not auto-updated.

Last update: 2020-01-16 20:29:10 UTC


README

服务器端

安装

# bash

composer require vesax/ajax-cross-domain-session-bundle dev-master
php app/console assets:install
# AppKernel.php

new Vesax\AjaxCrossDomainSessionBundle\VesaxAjaxCrossDomainSessionBundle()

配置

vesax_ajax_cross_domain_session:
    enabled: false
    parameter: _session_id

客户端

<script src="/bundles/vesaxajaxcrossdomainsession/session_listener.js"></script>