PHP Session Varialble not getting for child windows

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
san123
Forum Newbie
Posts: 1
Joined: Wed Mar 17, 2010 10:44 pm

PHP Session Varialble not getting for child windows

Post by san123 »

Hi all,

The session created for a main page(Home.php) not getting for the child window opened using window.open.

Could you please suggest me the solution.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP Session Varialble not getting for child windows

Post by Christopher »

They may be all in the same request, so you need to call session close write (see docs for function name) to write the changes so other frames will load the updated data.
(#10850)
Post Reply