topcoder1 Posted May 13, 2008 Share Posted May 13, 2008 I have the following setup: Main.php includes A.php and B.php in A.php I make an ajax call to C.php which modifies data X. Now I reload B.php, can I get data X in B.php? I don't want to pass information to B from client side to reconstruct X. thanks! Link to comment https://forums.phpfreaks.com/topic/105493-sharing-data-among-pages/ Share on other sites More sharing options...
radar Posted May 13, 2008 Share Posted May 13, 2008 You could do it the way I do mine and thats to run sessions... Or you can use a global variable... Sessions work for what I need though. Link to comment https://forums.phpfreaks.com/topic/105493-sharing-data-among-pages/#findComment-540320 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.