|
From: <php...@li...> - 2008-04-08 13:40:53
|
Hi, Cache_Lite has integrated serialize function, and I guess it's basically a wrapper of the php serialize function. I can cache and retrieve the object without problem. The issue is if I leave some java objects in the cache without using for a while, they become invalid or expired or sth, as you could see from the error message. I'll take a look at JPersistenceAdapter.php tmw, but please let me know if I was wrong, thanks. Regards, Rong On Tue, Apr 8, 2008 at 9:14 PM, <php...@li...> wrote: > Hi, > > > > and I cached (using PEAR Cache_Lite) the Java object > > You cannot cache java objects this way. Please serialize it. > > Please see the JPersistenceAdapter.php and the serialize php test from the php5 test folder for an > example. > > > Regards, > Jost Boekemeier > > > > > > > Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: > http://de.yahoo.com/set > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |