Bill LaGrue wrote: > On Sat, 08 Mar 2008 16:33:35 -0800 > Phil Dibowitz <[EMAIL PROTECTED]> wrote: > >> Bill LaGrue wrote: >>> Hi Phil, >>> Dump done and duly emailed. >> I had some time to look at this. I've enumerated the differences and >> have a few theories - but can one or both of you send me the >> Connectivity.EZHex file that the website gives you? I need that to >> correlate these differences. Thanks. >> > > Done. I also filed a bug report as requested.
OK, can you try the attached patch? There are two main differences between what we do and what they do: 1. In the cookies they pass everything the XML tells them to, plus a serial number encoded as the "CookieKeyValue" cookie. We weren't doing that last part. This patch fixes that. 2. In the POST, there's tons of random state variables we've never bothered to send that they seem to ignore anyway. This patch doesn't touch this part. So the cookies we send should now be inline with what they send. It seems to work for me, but it worked for me before, so that doesn't say much other than that this shouldn't be _worse_. Give it a shot, if it works for you, I'll commit it. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming
Index: libconcord/web.cpp =================================================================== RCS file: /cvsroot/concordance/concordance/libconcord/web.cpp,v retrieving revision 1.13 diff -u -r1.13 web.cpp --- libconcord/web.cpp 7 Mar 2008 21:25:06 -0000 1.13 +++ libconcord/web.cpp 9 Mar 2008 23:34:51 -0000 @@ -221,6 +221,11 @@ if ((err = GetTag("VALUE", x, &userid))) return err; + cookie += ";CookieKeyValue="; + cookie += ri.serial1; + cookie += ri.serial2; + cookie += ri.serial3; + #if _DEBUG printf("Connecting to %s:", server.c_str()); #endif
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel