For Programmers: Free Programming Magazines  


Home > Archive > Cobol > August 2004 > CGI Limitations with MicroFocus NetExpress?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CGI Limitations with MicroFocus NetExpress?
Dick McMullen

2004-08-08, 3:55 pm

Can anyone point me to specs for MicroFocus's CGI support in
NetExpress?

I am finding a limitation of approximately 4K for ACCEPT verbs against
a CGI page with large textual input fields--not sure where the culprit
is, but I'm sure I should be able to extend that limitation.

I am running apache on Windows2000, and I am developing the
server-side code using NetExpress.

Thanks.

Dick McMullen
Glenn Someone

2004-08-08, 3:55 pm

Are you looking at all the other generated source files? As I recall
there's two other source files that gets generated when you first
generate a page in your project and complete it. Are you looking at
those? I remember pushing a lot of data around in NetExpress, so I'm
not really sure exactly what is going on in your case.

My first thought is that it has a default receipt value in one of
these other files that you are exceeding. Of course, there's other
possibilities, but if you want to ask any more questions, just reply.

Though I have several references here in hand, I don't know of any
online references or anything that I can point you to. Sorry.

On 8 Aug 2004 10:41:57 -0700, dick@stillwater-mcmullens.net (Dick
McMullen) wrote:

>Can anyone point me to specs for MicroFocus's CGI support in
>NetExpress?
>
>I am finding a limitation of approximately 4K for ACCEPT verbs against
>a CGI page with large textual input fields--not sure where the culprit
>is, but I'm sure I should be able to extend that limitation.
>
>I am running apache on Windows2000, and I am developing the
>server-side code using NetExpress.


Richard

2004-08-09, 3:55 am

dick@stillwater-mcmullens.net (Dick McMullen) wrote

> I am finding a limitation of approximately 4K for ACCEPT verbs against
> a CGI page with large textual input fields--not sure where the culprit
> is, but I'm sure I should be able to extend that limitation.
>
> I am running apache on Windows2000, and I am developing the
> server-side code using NetExpress.


I would assume that you are using POST method as most browsers have a
lower limit than this for GET method - eg IE is limited to total of
2083 in the URL string.

Check your apache configuration, for example for:

LimitRequestBody
LimitRequestFields
Glenn Someone

2004-08-09, 3:55 am

Now that I got to look at one of my old projects...

The other poster is right. Look at whether you are using GET, or POST
as a CGI exec method. There is a limitation on how many bytes can be
passed under GET method.

Look at your CPF file. The fields there must match your CPY file.

On 8 Aug 2004 10:41:57 -0700, dick@stillwater-mcmullens.net (Dick
McMullen) wrote:

>Can anyone point me to specs for MicroFocus's CGI support in
>NetExpress?


Simon Tobias

2004-08-09, 8:55 am

Hi Dick,

Which version (and FixPack level) of Net Express are you running? There was
an issue regarding a 4K limitation of data handled by CGI ACCEPT and DISPLAY
statements in the base release of Net Express 3.1, which was corrected in
the Accept/Display CGI Syntax Fixpack (acc00n31.exe).

If you're running the base release of Net Express 3.1, I would strongly
recommend upgrading to the very latest fix level -- you can download these
from http://supportline.microfocus.com/ .

SimonT.


Dick McMullen

2004-08-10, 8:55 pm

All,

1) I am using POST, not GET, so I believe I am OK there;
2) apache reports the appropriate content_length after the POST, but
I will check the apache config;
3) The NetExpress 4K limitation sounds like it may be the cause. I
will also check that.

Thanks to all of you for your ideas.

Dick

"Simon Tobias" <Simon.Tobias@nospam.microfocus.com> wrote in message news:<cf7gjg$4uh$1@hyperion.microfocus.com>...
> Hi Dick,
>
> Which version (and FixPack level) of Net Express are you running? There was
> an issue regarding a 4K limitation of data handled by CGI ACCEPT and DISPLAY
> statements in the base release of Net Express 3.1, which was corrected in
> the Accept/Display CGI Syntax Fixpack (acc00n31.exe).
>
> If you're running the base release of Net Express 3.1, I would strongly
> recommend upgrading to the very latest fix level -- you can download these
> from http://supportline.microfocus.com/ .
>
> SimonT.

Dick McMullen

2004-08-10, 8:55 pm

All,

1) I am using POST, not GET, so I believe I am OK there;
2) apache reports the appropriate content_length after the POST, but
I will check the apache config;
3) The NetExpress 4K limitation sounds like it may be the cause. I
will also check that.

Thanks to all of you for your ideas.

Dick

"Simon Tobias" <Simon.Tobias@nospam.microfocus.com> wrote in message news:<cf7gjg$4uh$1@hyperion.microfocus.com>...
> Hi Dick,
>
> Which version (and FixPack level) of Net Express are you running? There was
> an issue regarding a 4K limitation of data handled by CGI ACCEPT and DISPLAY
> statements in the base release of Net Express 3.1, which was corrected in
> the Accept/Display CGI Syntax Fixpack (acc00n31.exe).
>
> If you're running the base release of Net Express 3.1, I would strongly
> recommend upgrading to the very latest fix level -- you can download these
> from http://supportline.microfocus.com/ .
>
> SimonT.

Glenn Someone

2004-08-15, 3:55 pm

Now that I got to look at one of my old projects...

The other poster is right. Look at whether you are using GET, or POST
as a CGI exec method. There is a limitation on how many bytes can be
passed under GET method.

Look at your CPF file. The fields there must match your CPY file.

On 8 Aug 2004 10:41:57 -0700, dick@stillwater-mcmullens.net (Dick
McMullen) wrote:

>Can anyone point me to specs for MicroFocus's CGI support in
>NetExpress?


Richard

2004-08-15, 8:55 pm

dick@stillwater-mcmullens.net (Dick McMullen) wrote

> I am finding a limitation of approximately 4K for ACCEPT verbs against
> a CGI page with large textual input fields--not sure where the culprit
> is, but I'm sure I should be able to extend that limitation.
>
> I am running apache on Windows2000, and I am developing the
> server-side code using NetExpress.


I would assume that you are using POST method as most browsers have a
lower limit than this for GET method - eg IE is limited to total of
2083 in the URL string.

Check your apache configuration, for example for:

LimitRequestBody
LimitRequestFields
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com