Hi all,
I want to beable to open a new internet explorer browser which will log a user in from a link and create a new session. However i do not want the old session destroyed or over written.
If i open a browser manually and login all the previous session details are stored and the new browser has new session values stored.
How can i do this from a <a href> link?
open new browser
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Why do you need a new session do you mind me asking?
You can always make $_SESSION a multidimensional array.
You can always make $_SESSION a multidimensional array.
Code: Select all
session_start();
$_SESSION[0] = array();
$_SESSION[1] = array();
//On parent window
$_SESSION[0]['item_name'] = 'Carrots';
//On new window
$_SESSION[1]['item_name'] = 'Peas';