Iframe中的会话在Firefox中工作,但不在Internet Explorer中 [英] Session in Iframe working in Firefox but not in Internet Explorer

查看:134
本文介绍了Iframe中的会话在Firefox中工作,但不在Internet Explorer中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图得到一个在Internet Explorer中工作的表单。我看到,当我在Firefox中提交这个表单时,我可以开始一个会话,并根据该Session将我的浏览器发送到正确的页面。然而,在Internet Explorer中,当我调试$ _SESSION时,我检索到一个空数组,这意味着在Internet Explorer中会话不会在第二页上启动。



这是我用来在第二页打印会话的代码:

 在session_start(); 
// unset($ _ SESSION ['bp_email']);
include(includes / _dbconnect.php);
print_r($ _ SESSION);
die();


解决方案

请阅读 链接 ,它一定会帮助你。


Im trying to get a form working in Internet Explorer. I see that when i submit this form in Firefox I can start a session and send my webbrowser to the right page based on that Session. In Internet Explorer however when i'm debugging the $_SESSION i retrieve an empty array back, this means that in Internet Explorer the session isn't started on my second page.

This is the code i'm using to print the session on my second page:

session_start();
 //unset($_SESSION['bp_email']);
 include("includes/_dbconnect.php");
 print_r($_SESSION);
 die();

解决方案

Please read this link, it will definitely help you.

这篇关于Iframe中的会话在Firefox中工作,但不在Internet Explorer中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆