Hi all,
question regarding the cleanup of dynamic objects and the use of a widget pool. Speaking in regards to a webspeed application. I noticed we have some dynamic queries where we are not deleting the handle object.
I want to make sure I do proper deletion of those objects. My question...
Cecil that worked. Thank you for your help. Part of what I was missing was
output-http-header("Content-Length",STRING(GET-SIZE(mpData))).
and the {&OUT-LONG} mpData.
Another option that I tried that worked that uses data uri's is shown below. It works great but data uri's dont work with...
Thanks Cecil,
You cant output the display of a lonchar value to a regular variable if its too long. I was using substring intially to just see if there was some data in the field. So I assigned a regular char var to the subtring value.
Your example will still produce the following error...
We have images that are being base64 encoded and stored in a clob field in our db. the encoding and storing of the image is working fine. If I run this test to output some of the data to a string I can see there is info stored.
<script language="speedscript">
def var v-b64-decod-str as...
Hi all,
We've been dealing a bit with hung agents and after some reading I've come across the AGENT_RETRY_VAL setting. Supposedly setting this to 0 will minimize the WebWrite errors so the agent doesnt get stuck in endlessly trying to perform a dead request.
WebWrite() failed during npp_send...
Thanks Gnome. the appserver we have is on unix but the site and messengers reside on IIS windows server. The config for this is kind of fickle. I'll let you know if I get it working.
Hi all,
Can someone explain exactly how you should properly configure webspeed to redirect to a custom error message instead of showing the default yellow webspeed error message. I have looked at all the knowledge base stuff and I have never been able to get it to work. I need to do it on a...
Hi Sorry to bring this up again, but Im a bit confused as to how you can enable gzip compression through a webspeed page.
I am on IIS6, I know how to enable gzip compression on the server. It is enabled and everything configured correctly to allow gzip compression.
if I test pulling up a...
best schemes for javascript compression with webspeed.
Hi all,
just curious in regards to javascript compression what techniques do any of you find work best with webspeed. gzip compression? using something like packer for your javascript?
Im trying to figure out the best method to make my...
Hi all,
I need to set two cookies when a user logs onto our website. The first is to set the sessid for the site. The second is to set a second cookie with the same value but with the domain specified for another secured url since I need to grab the sessid when I pass the user to the secured...
Well I'll just loop through the string of accts comparing to the first this should work.
test
def var v-delimter as char no-undo.
def var v-acct-string as char no-undo.
def var v-i as int no-undo.
def var v-first-acct as char no-undo.
def var v-diff-cnt as int no-undo...
Hi all I was wondering what would you consider the best method to check that all the line records returned on a for each contain the same account number or not.
assuming the following simple for each.
for each Payment where
Payment.Payment-id eq 5678910:
For example if...
Geez that worked. Thanks Casper I appreciate it. Are there any pros and cons to using this method versus using the sax method? This seems so much easier than using the sax parser, but if the XML has nested levels of nodes etc is the sax method better?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.