I published a HOWTO on my site which explains how to do this:<br><br><a href="http://www.whalin.com/memcached/HOWTO.txt">http://www.whalin.com/memcached/HOWTO.txt</a><br><br>gw<br><br><div class="gmail_quote">On Jan 25, 2008 7:24 PM, Josh Rotenberg <<a href="mailto:joshrotenberg@gmail.com">joshrotenberg@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Be sure to keep in my Brian's other point about serialization and/or<br>compression. If you using either from either side (Java or php) you<br>
might have more issues.<br><br>Josh<br><br><br><br>On Jan 25, 2008, at 2:49 PM, "Mark Magpayo" <<a href="mailto:mmagpayo@purevideo.com">mmagpayo@purevideo.com</a>><br>wrote:<br><div><div></div><div class="Wj3C7c">
<br>>> Mark Magpayo wrote:<br>>>> For some reason any keys that I store with PHP, I cannot retrieve in<br>>>> Java, and vice versa. I've tried turning sanitizeKeys off in the<br>> Java<br>>>> client and still no luck.<br>
>><br>>> The first hurdle is whether or not the Java and PHP clients use the<br>> same<br>>> hashing algorithm. I don't know that they do.<br>>><br>><br>> Apparently the Java client uses the native String.hashCode() method as<br>
> its default hashing algorithm. Digging into the source a bit more (as<br>> well as the javadocs), there is a flag to set the hashing to an<br>> algorithm that is compatible with other clients.<br>><br>> Got it to work finally!<br>
><br>> -Mark<br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Greg Whalin