Any one have idea on how to force the server to create a new session for child window instead of joining the existing session? ie i want different SESSION should run in both parent & child window. moreover i donot want to destroy parent session. Thanks __________________ Rajesh Soni
That can not be done. You will have the same session for a domain in the new window as in the old one.
It depends what you mean by child session? You can create another field in your session like: $_SESSION['child'] and keep there new session data. When PHP will check for session data you can make condition if(@$_SESSION['child']) { // use child session data } else { // use old data } PHP: You actually can't create new session without destroying old session but you can "pretend" that there is a new session.
Take a look at the php website where they explained sessions. Under user "notes" someone did mention something like this, and they also posted a code. Not sure though... If you could tell us what you need to do, may be we can suggest some alternative or something. Bye