IE and other multi-tab browser in a tab login after a new tab open the same URL how to determine that you have logged in to the landing page
Asked this question before, but feel that the answer is not complete, see Hotmail is login to a tab, after opening the new tab and then jump to the login page. How is it implemented?
Share to:
------Solution--------------------
The newly opened tab is equivalent to refreshing the page.
Session and other login information if it has been recorded, refresh the page is not to enter the login page,
------Solution--------------------
Don't know what problem you're having, at least you didn't describe it clearly
You can test it like this.
setcookie.php
Session_Start ();
Setcookie (' name ', ' my ');
getcookie.php
Session_Start ();
Print_r ($_cookie);
Echo session_id ();
First in the first TAB, execute setcookie.php
Then execute the getcookie.php in the second TAB
Let's see what we got.