rashmi_k28 Posted November 10, 2008 Share Posted November 10, 2008 The parent form has a session and when clicked on the submit a small pop up window opens. Does the pop-up window will also have the sessions? Link to comment https://forums.phpfreaks.com/topic/132095-session/ Share on other sites More sharing options...
corbin Posted November 10, 2008 Share Posted November 10, 2008 If the popup is on the same domain, it should have the session data. Link to comment https://forums.phpfreaks.com/topic/132095-session/#findComment-686470 Share on other sites More sharing options...
cooldude832 Posted November 10, 2008 Share Posted November 10, 2008 The parent form has a session and when clicked on the submit a small pop up window opens. Does the pop-up window will also have the sessions? Just remember to be observer and treat session variables with these rules 1) Sessions values are final once headers are sent (this means what $_SESSION contains for your uses) 2) Updating a session after a header is sent will result in the value being updated on next page load (or popup open) 3) session_start() always on top or auto start in config Link to comment https://forums.phpfreaks.com/topic/132095-session/#findComment-686478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.