【发布时间】:2012-02-14 21:33:35
【问题描述】:
我是 facebook 应用程序的新手。当它在 IE 上运行时,我遇到了这个应用程序的问题。
登录后它重定向到搜索动作(zend-framework),然后当我点击按钮重定向另一个动作以及相同的动作。它破坏会话。
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId : '<?php echo $this->appid ?>',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
FB.Canvas.setSize({width: 760, height: 980});
};
(function() {
var e = document.createElement('script');
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
HTML 代码
<div class="cross">
<a href="<?php echo $this->url(array('controller' => 'index', 'action' =>'search','cancel'=>'c'),'default',true) ?>">
</a>
</div>
请帮助我。 感谢您考虑。
【问题讨论】: