Create new session during window.open()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sonirajesh
Forum Newbie
Posts: 6
Joined: Wed Jul 04, 2007 5:32 am

Create new session during window.open()

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Don't use cookies for session id storage.
sonirajesh
Forum Newbie
Posts: 6
Joined: Wed Jul 04, 2007 5:32 am

Post 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
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

Or you can ini_set('session.name','childwindow_SESS'); in your child window and start new session with another cookie name.
Post Reply