Php IE7iframesession loss solution. This article will introduce the IE7iframesession loss solution in php at home. if you encounter such problems, you can refer to the reference hypothesis and adopt the iframe method, this article is likely to introduce the IE7 iframe session loss solution in php at home. if you encounter such problems, you can refer
If you use the iframe method, you may encounter this problem. This problem only exists in the IE 7 browser. I have no problems in tests in firefox, IE6, chrome, and other browsers.
Before running session_start, add the following sentence in the program (taking the php language as an example) to declare the security level to the browser, in this way, the iframe subpage will not be faulty when creating the session:
| The code is as follows: |
|
Header ('p3p: CP = "all adm dev PSAi com our OTRo stp ind onl "'); |
In addition, I also learned that if the second-level domain name contains underscores, such as your_domain.yourhost.com, problems may also occur during creation and transfer of sessions.
Iframe session loss solution. if you encounter such a problem, you can refer to the reference. if you use iframe, you may encounter this problem...