From: <php...@li...> - 2010-09-21 13:25:56
|
On 20/09/2010 19:25, php...@li... wrote: > Hi, > > not if we want to get PHP/Java Bridge 6.2.1 through the release tests, > no. Please see http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/tests.php5/session_write_close_bug.php?revision=1.5&content-type=text%2Fplain > > This problem should be solved on PHP level, please see > http://bugs.php.net/bug.php?id=46451 > > >> This was causing >> problems with my application by saving the session before I had finished >> using it. > > Why and how do you want to access the session after the evaluator shutdown? Hi, Thanks for the response, although I don't quite understand what's going on so please bare with me ;) The site I am working is pure php but in order to process a particular type of transaction I have to use a Java library. I have placed all the code I need into a php class and call this when necessary. I have found that session variable set after using this class aren't stored. (This was very frustrating to debug as you can imagine.) Could you tell me when and under what circumstances the java_shutdown() function is called? I may be able to alter my code to work around this issue if it is necessary to run the session_write_close() at that point. I don't normally call this manually but let the main site __destruct() function call handle the saving of all my objects into a session variable - which is then rebuilt when another page is called. Thanks for your assistance. Ian -- |