DO_SetValue info question
Does anyone have any information on the DO_SetValue function with regard to the WWW sessions. I've been through all the documentation but there isn't a definition or description of its usage that is of any use.
I am particularly looking for references to __VIEWSTATE as I get an internal compiler error (1071)... is it just that the passed data value is too big (there seems to be a lot of data that has been picked up)? What would it do to the code if I commented this function out of the script?
Any help gratefully recieved.
Re: DO_SetValue info question
I thought that I'd give a little bit of feedback to the group with regards to the solution that we found after my previous post (above).
I captured a script that contained large amounts of data assigned by DO_SetValue to a variable __VIEWSTATE. In total it was 30k+ characters of data. When I came to compile this it was greater than the buffer size limit which meant that the compiler couldn't handle it.
After various methods of trying to get around the problem (by rewriting the code, reassigning the data to split buffers and recombing them, accessing the data by direct read, and even ignoring the code) it still didn't work. So we went back to the drawing board and looked at what was creating the problem in the first place.
It turned out that the generation code had VIEWSTATE switched on for all 4 levels (machine, application, page and control. After switching off some of the unnecessary control VIEWSTATEs this reduced the data to some 3k characters. The compiler doesn't complain and testing is now ongoing...