Hi Raymond,

> Can you show us the code please?

I've uploaded my test stubs in a zip file which includes
the two serialised queries at the following URL:

http://www.networkbuild.com/temp/struct_find_key_test.zip

The code is simple, and pretty raw too. To simulate the
database queries, I've provided the result sets for both queries
in WDDX files. An Application.cfm is provided which loads in the
WDDX files and converts the contents back into queries. Three
templates are provided - one which does not search the struct,
one which searches using StructFindKey and one which searches
manually. I've also included the two WDDX files suffixed with
"_CS" which are the same WDDX packets after being fed through
code sweeper.

>> [CF_DUMP] shows me a struct - not WDDX.

> That's because cfa_dump is smart enough to detect wddx and
> auto-deserialize it. So when you dump wddx, you will see the
> 'real' form of it.

No I realise that - I meant to say it really shows it as a struct
without a border, whereas WDDX packets are shown as structs with
a solid black border. So it _is_ deserialising it successfully.
I should add that some of the many test iterations added in calls
to Len( szContent ) and IsWDDX( Trim( szContent )) before
attempting to deserialise it.

Any insight you can provide will be most appreciated,

Colin
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to