I dont think sessions will cut it if he is trying to move around php objects async, process them and or add to them and return the same object ... - is all depends on what he is trying to do.... but for instance to set a session variable in PHP then retrieve that session variable later on in a script requires another ajax request to set a javascript variable to then check if the session has changed or to query the value again .... which is expensive
----- Original Message ----- From: "Szymon Wilkołazki" <wilkola...@gmail.com> To: <prototype-scriptaculous@googlegroups.com> Sent: Tuesday, March 03, 2009 1:37 PM Subject: [Proto-Scripty] Re: Ajax.Request and php global variable > > marioosh wrote: >> Explaining [sorry for my english ;)]: >> >> I need $var that is object of some class, and >> $var will point to the same object in test1.php, test2.php, >> test3.php ... >> where: test1.php, test2.php ... are scripts that will be used in new >> Ajax.Request(... >> >> I need something like above. > > Then you need to read about Sessions in PHP. > > http://pl.php.net/manual/en/book.session.php > > Regards, > SWilk > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---