IE and other multi-TAB browsers log on to a TAB and then open a new TAB to open the same Web site. how can I determine whether I have logged on to the login page and asked this question before? However, I think the answer is incomplete, after you log on to a TAB in hotmail, the new tab is displayed on the logon page. How to implement it? IE and other multi-TAB browsers log on to one TAB and then open a new TAB to open the same Web site. how can I determine if I have logged on to the login page?
I have asked this question before, but I think the answer is incomplete. it seems that hotmail is logged on to a TAB. after opening the new tab, it will jump to the logon page. How to implement it? Share:
------ Solution --------------------
The new tab refreshes the page.
If the session and other logon information have been recorded, do you enter the logon page after refreshing the page,
------ Solution --------------------
I don't know what problems you have encountered. at least you have not clearly described them.
You can test it like this.
Setcookie. php
Session_start ();
Setcookie ('name', 'My ');
Getcookie. php
Session_start ();
Print_r ($ _ COOKIE );
Echo session_id ();
First, execute setcookie. php in the first TAB.
Then execute getcookie. php in the second TAB.
Let's take a look at all the results.