I discovered that the truncation of the form values started appearing after I had upgraded my shell to the latest version including replacing the on web connection method. It seems even though I am using 4D2003 if you use the parts of the on web connection method from the shell, that are designed for 4D 6.7+ then the form variables get truncated. Of course now that I have done some further testing I am not sure that they are getting truncated, they may just be missing completely, as I am basing the truncation on doing a

get form variables($vaMySessionFormKeys;$vaMySessionFormValues)
        
set session array("MySessionFormKeys";$vaMySessionFormKeys)
                
set session array("MySessionFormValues";$vaMySessionFormValues)

and then using the dump session part of the a4d.web library to display the session items and the form variables..

In this display, the session arrays above are listed as type Array String(5; and all the values are listed but truncated. I have tried declaring the arrays first as text, but they still show up in the session as Array String(5; If I declare them as Array String(80; or greater, they show up as Array String(21; which happens to be the length of the longest item in the array.

Even though I now have the original logic of my scripts working in that the lines

form variables has("button.x")  are now working correctly..

I am still seeing that the form variable collection as put into the session as an array still exhibits the behavior of truncating. And of course I am using the 6.5 lines of code in the On Web Connection, instead of the 6.7+ lines.

TIA
Gary...


------------------------------------------------------------------------ Gary Pedretty /\ [EMAIL PROTECTED] Systems Manager / \ /\ www.frontierflying.com Frontier Flying Service, Inc. / /\ \ 907-450-7251 voice 5245 Airport Industrial Road / / \ /\ 907-450-7238 fax Fairbanks, Alaska 99709 / / America's Original Homeland Security Serving Alaska's Interior / / "Love your neighbor as Temperature +55 spring is here. yourself" Matt 22:39 ------------------------------------------------------------------------



Reply via email to