Be sure to keep in my Brian's other point about serialization and/or
compression. If you using either from either side (Java or php) you
might have more issues.
Josh
On Jan 25, 2008, at 2:49 PM, "Mark Magpayo" <[EMAIL PROTECTED]>
wrote:
Mark Magpayo wrote:
For some reason any keys that I store with PHP, I cannot retrieve in
Java, and vice versa. I've tried turning sanitizeKeys off in the
Java
client and still no luck.
The first hurdle is whether or not the Java and PHP clients use the
same
hashing algorithm. I don't know that they do.
Apparently the Java client uses the native String.hashCode() method as
its default hashing algorithm. Digging into the source a bit more (as
well as the javadocs), there is a flag to set the hashing to an
algorithm that is compatible with other clients.
Got it to work finally!
-Mark