Page 1 of 1

Create new session during window.open()

Posted: Wed Jul 04, 2007 10:32 pm
by sonirajesh
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.


Rajesh Soni

Posted: Wed Jul 04, 2007 10:41 pm
by feyd
Don't use cookies for session id storage.

Posted: Thu Jul 05, 2007 12:04 am
by sonirajesh
i have following setting:

session.use_cookies:Off
session.use_only_cookies:Off

but still i am having same session in child window.

Rajesh Soni

Posted: Thu Jul 05, 2007 2:06 am
by miro_igov
Or you can ini_set('session.name','childwindow_SESS'); in your child window and start new session with another cookie name.