Php retains SESSION in IE browser

Source: Internet
Author: User
Php saves the SESSION in IE browser. in order to test & nbsp; SESSION & nbsp; whether to save the SESSION to the value & nbsp; I downloaded & nbsp; Google & nbsp; firefox & nbsp; Browser & nbsp; after the test, it is found that Google and Firefox & nbsp; in the browser, php is normal, and SESSION is saved in IE browser.
In order to test whether the SESSION is saved to the value, I tested the Google Firefox browser and found that the normal values in Google and Firefox are complete ,, but why is it null when I change IE? the most strange thing is that I changed the privacy permission in the settings of IE to a minimum, when I open the web page, I can see a description of the value. This shows that the value can be obtained, but an error is reported when the page is opened.
Is Internet Explorer unable to open Inetenet site http://mixi.jp/run_appli.pl? Id = 22124. Operation terminated,
..
I tried to modify some configurations in PHP. ini on the Internet, and I also tried to add session_id () to the URL ,,
Excuse me
------ Solution --------------------
Is the IE Cookie disabled? Check whether the IE plug-in is in favor, such as The XX toolbar ..
------ Solution --------------------
$ _ REQUEST ["id"]
Some people are using it like this.
$ _ GET ["id"] or $ _ POST ["id"] or cookie
It seems that you are doing flash Upload.
------ Solution --------------------
The session and IE settings do not matter.
------ Solution --------------------
Session stored on the server
------ Solution --------------------
Reference:
Session_start ();
$ _ SESSION ['userinfo'] = $ userinfo;

Session_start ();
Echo $ _ SESSION ['userinfo'];

I also use this method, and the session is stored on the server. it is not a matter of browser. the usage of the landlord is complicated.
------ Solution --------------------
Reference:
The session I saved is the user login information and the user's friend information is two arrays.
Session: set ("userinfo", $ userinfo); this is the saved user information.
Session: set ("friendlist", $ friendlist); this is the saved friend information.

$ Userinfo = Session: get ("userinfo"); get
$ Friendlist = Session: get ('dldlist'); get

Let's take a look at the two sentences for obtaining the SESSION. Before that, you didn't enable the session,
Session_start ();
Then $ userinfo = Session: get ("userinfo"); get
$ Friendlist = Session: get ('dldlist'); get

Otherwise, $ userinfo and $ friendlist cannot obtain data.

Try again


------ Solution --------------------
Since Firefox shows no problem, it indicates that PHP configuration is okay.
In IE, do you use httpddebug to check whether the session_id value is correct?
------ Solution --------------------
Still learning
------ Solution --------------------
Please, let's clarify where the session is saved first.
------ Solution --------------------
Reference:
Reference:
The session I saved is the user login information and the user's friend information is two arrays.
Session: set ("userinfo", $ userinfo); this is the saved user information.
Session: set ("friendlist", $ friendlist); this is the saved friend information.

$ Userinfo = Session: get ("userinfo ......


Which output? Aren't all values assigned?
------ Solution --------------------
I also encountered a session value loss problem. after searching for several days, it was lost after calling the flash Upload function. It's also depressing...
------ Solution --------------------
Top .......... Score
------ Solution --------------------
Check the encoding of the program file. if it is UTF-8 with a signature, a bom will be provided before the program output, even if session-start () is not allowed in the first line.
------ Solution --------------------
I feel that you have not mastered the basic content.

Http://student.csdn.net/space.php? Uid = 46933 & do = thread & id = 1743
------ Solution --------------------
I have also encountered this problem. I cannot log in to ie, but other browsers can log in. later I found it was a configuration problem.
I used virthhost to configure multiple domain names. it seems that the domain name cannot be underlined... and then I changed the underline "-".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.